groups_clear_group_object_cache( int $group_id )
Clear the cached group count.
Description
Parameters
- $group_id
-
(Required) Not used.
Source
File: bp-groups/bp-groups-cache.php
function groups_clear_group_object_cache( $group_id ) { wp_cache_delete( 'bp_total_group_count', 'bp' ); }
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.