groups_get_total_group_count()
Get the total group count for the site.
Description Description
Return Return
(int)
Source Source
File: bp-groups/bp-groups-functions.php
function groups_get_total_group_count() { $count = wp_cache_get( 'bp_total_group_count', 'bp' ); if ( false === $count ) { $count = BP_Groups_Group::get_total_group_count(); wp_cache_set( 'bp_total_group_count', $count, 'bp' ); } return $count; }
Changelog Changelog
Version | Description |
---|---|
1.2.0 | Introduced. |