BP_Activity_Template::rewind_activities()
Rewind the posts and reset post index.
Description Description
Source 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 Changelog
| Version | Description |
|---|---|
| 1.0.0 | Introduced. |