BP_Activity_Template::next_activity()
Set up the next activity item and iterate index.
Description
Return
(object) The next activity item to iterate over.
Source
File: bp-activity/classes/class-bp-activity-template.php
public function next_activity() { $this->current_activity++; $this->activity = $this->activities[ $this->current_activity ]; return $this->activity; }
Changelog
Version | Description |
---|---|
BuddyPress 1.0.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.