bp_groups_delete_group_cache_on_metadata_change( int $meta_id, int $group_id )
Bust group cache when modifying metadata.
Description
Parameters
- $meta_id
-
(Required) Meta ID.
- $group_id
-
(Required) Group ID.
Source
File: bp-groups/bp-groups-cache.php
function bp_groups_delete_group_cache_on_metadata_change( $meta_id, $group_id ) { wp_cache_delete( $group_id, 'bp_groups' ); }
Changelog
Version | Description |
---|---|
BuddyPress 2.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.