apply_filters( 'clanbite_teams_should_auto_roster_sync_user', bool $run, int $user_id )Whether to apply default team roster membership for this user.
Filter PHP
Parameters
$run(bool)Default true.
$user_id(int)User ID.
Example
add_filter( 'clanbite_teams_should_auto_roster_sync_user', function ( $run, $user_id ) {
// Change $run here.
return $run;
}, 10, 2 );Defined in inc/extensions/teams/class-extension-teams.php