BP_Groups_Template::has_groups()
Whether there are groups available in the loop.
Description Description
See also See also
Return Return
(bool) True if there are items in the loop, otherwise false.
Source Source
File: bp-groups/classes/class-bp-groups-template.php
function has_groups() {
if ( $this->group_count ) {
return true;
}
return false;
}
Changelog Changelog
| Version | Description |
|---|---|
| 1.2.0 | Introduced. |