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