bp_get_total_group_count()
Return the total number of groups.
Description
Return
(int)
Source
File: bp-groups/bp-groups-template.php
function bp_get_total_group_count() {
/**
* Filters the total number of groups.
*
* @since BuddyPress 1.0.0
*
* @param int $value Total number of groups found.
*/
return apply_filters( 'bp_get_total_group_count', groups_get_total_group_count() );
}
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.