bp_groups_delete_group_cache( int $group_id )
Bust group caches when editing or deleting.
Description
Parameters
- $group_id
-
(Required) The group being edited.
Source
File: bp-groups/bp-groups-cache.php
function bp_groups_delete_group_cache( $group_id = 0 ) { wp_cache_delete( $group_id, 'bp_groups' ); }
Changelog
Version | Description |
---|---|
BuddyPress 1.7.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.