BP_Activity_Template::rewind_activities()
Rewind the posts and reset post index.
Description
Source
File: bp-activity/classes/class-bp-activity-template.php
public function rewind_activities() {
$this->current_activity = -1;
if ( $this->activity_count > 0 ) {
$this->activity = $this->activities[0];
}
}
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.