groups_clear_group_type_cache( int $group_id )
Clear the group type cache for a group.
Description
Called when group is deleted.
Parameters
- $group_id
-
(Required) The group ID.
Source
File: bp-groups/bp-groups-cache.php
function groups_clear_group_type_cache( $group_id = 0 ) { wp_cache_delete( $group_id, 'bp_groups_group_type' ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.6.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.