BP_Notifications_Template::next_notification()
Set up the next notification and iterate index.
Description
Return
(object) The next notification to iterate over.
Source
File: bp-notifications/classes/class-bp-notifications-template.php
276 277 278 279 280 281 282 283 | public function next_notification() { $this ->current_notification++; $this ->notification = $this ->notifications[ $this ->current_notification ]; return $this ->notification; } |
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.