BP_Groups_Template::next_group()
Set up the next group and iterate index.
Description Description
Return Return
(object) The next group to iterate over.
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;
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |