BP_Groups_Template::next_group()

Set up the next group and iterate index.


Description Description


Return Return

(object) The next group to iterate over.


Top ↑

Source Source

File: bp-groups/classes/class-bp-groups-template.php

	function next_group() {
		$this->current_group++;
		$this->group = $this->groups[$this->current_group];

		return $this->group;
	}

Top ↑

Changelog Changelog

Changelog
Version Description
1.2.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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