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];
		}
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.