bp_groups_clear_group_administrator_cache_on_member_delete( int $user_id, int $group_id )
Clear group administrator and moderator cache when a group member is deleted.
Description
Parameters
- $user_id
-
(Required) User ID.
- $group_id
-
(Required) Group ID.
Source
File: bp-groups/bp-groups-cache.php
function bp_groups_clear_group_administrator_cache_on_member_delete( $user_id, $group_id ) { groups_clear_group_administrator_cache( $group_id ); }
Changelog
Version | Description |
---|---|
BuddyPress 4.0.0 | BuddyPress 4.0.0 |
BuddyBoss 1.3.5 | 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.