apply_filters( 'clanbite_user_can_delete_team_on_frontend', bool $can, int $team_id, int $user_id, Teams $extension )Filter whether the user may delete a team from the front-end manage UI.
Filter PHP
Parameters
$can(bool)Whether deletion is allowed.
$team_id(int)Team post ID.
$user_id(int)User ID.
$extension(Teams)Teams extension instance.
Example
add_filter( 'clanbite_user_can_delete_team_on_frontend', function ( $can, $team_id, $user_id, $extension ) {
// Change $can here.
return $can;
}, 10, 4 );Defined in inc/extensions/teams/class-extension-teams.php