apply_filters( 'clanbite_events_player_calendar_team_ids', int[] $team_ids, int $user_id )Filter team IDs included in a player’s merged event calendar REST query.
Filter PHP
Parameters
$team_ids(int[])Team post IDs.
$user_id(int)Profile owner user ID.
Example
add_filter( 'clanbite_events_player_calendar_team_ids', function ( $team_ids, $user_id ) {
// Change $team_ids here.
return $team_ids;
}, 10, 2 );Defined in inc/events/functions.php