BP_Core_Members_Template::next_member()

Set up the next member and iterate index.

Description

Return

(object) The next member to iterate over.

Source

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

	function next_member() {
		$this->current_member++;
		$this->member = $this->members[$this->current_member];

		return $this->member;
	}

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.