bp_groups_clear_invite_count_on_uninvite( int $group_id, int $user_id )
Clear a user’s cached total group invite count when a user is uninvited.
Description Description
Groan. Our API functions are not consistent.
Parameters Parameters
- $group_id
-
(int) (Required) The group ID. Not used in this function.
- $user_id
-
(int) (Required) The user ID.
Source Source
File: bp-groups/bp-groups-cache.php
function bp_groups_clear_invite_count_on_uninvite( $group_id, $user_id ) { bp_groups_clear_invite_count_for_user( $user_id ); }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
2.0.0 | Introduced. |