BP_XProfile_Data_Template::rewind_groups()

Rewinds to the start of the groups list.

Description

Source

File: bp-xprofile/classes/class-bp-xprofile-data-template.php

	public function rewind_groups() {
		$this->current_group = -1;
		if ( $this->group_count > 0 ) {
			$this->group = $this->groups[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.