groups_clear_group_type_cache( int $group_id )
Clear the group type cache for a group.
Description Description
Called when group is deleted.
Parameters Parameters
- $group_id
-
(Required) The group ID.
Source 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 Changelog
Version | Description |
---|---|
2.6.0 | Introduced. |