clanbite_teams_user_can_delete_team( int $team_id, ?int $user_id = null ): boolWhether the user may permanently delete a team from the front-end manage screen.
Parameters
$team_id(int) RequiredTeam post ID.
$user_id(int|null) OptionalUser ID, or null for the current user.
Default:
null
Returns
bool False when Teams is inactive.
Defined in inc/extensions/teams/functions.php