cleanup_team_membership_index_for_team_deletion( int $team_id, array $user_ids ): voidRemove this team from every affected user’s membership index (call after the team post is deleted).
protected
Class: Kernowdev\Clanbite\Extensions\Teams
Parameters
$team_id(int) RequiredTeam post ID (used as the key to remove from each user’s list).
$user_ids(array<int>) RequiredUsers to update (from
get_user_ids_for_team_membership_cleanup()while the post existed).
Returns
void
Defined in inc/extensions/teams/class-extension-teams.php