BP_Core_Members_Template::rewind_members()

Rewind the members and reset member index.

Description

Source

File: bp-members/classes/class-bp-core-members-template.php

	function rewind_members() {
		$this->current_member = -1;
		if ( $this->member_count > 0 ) {
			$this->member = $this->members[0];
		}
	}

Changelog

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.