BP_Notifications_Template::next_notification()
Set up the next notification and iterate index.
Description Description
Return Return
(object) The next notification to iterate over.
Source Source
File: bp-notifications/classes/class-bp-notifications-template.php
public function next_notification() {
$this->current_notification++;
$this->notification = $this->notifications[ $this->current_notification ];
return $this->notification;
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.9.0 | Introduced. |