BP_Notifications_Template::rewind_notifications()
Rewind the blogs and reset blog index.
Description
Source
File: bp-notifications/classes/class-bp-notifications-template.php
public function rewind_notifications() {
$this->current_notification = -1;
if ( $this->notification_count > 0 ) {
$this->notification = $this->notifications[0];
}
}
Changelog
| Version | Description |
|---|---|
| BuddyPress 1.9.0 | Introduced. |
Questions?
We're always happy to help with code or other questions you might have! Search our developer docs, contact support, or connect with our sales team.