user_can_delete_team_on_frontend( int $team_id, ?int $user_id = null ): boolWhether the user may permanently delete the team from the front-end manage screen.
Default: site/network teams admin, post author, or team roster admin.
public
Class: Kernowdev\Clanbite\Extensions\Teams
Parameters
$team_id(int) RequiredTeam post ID.
$user_id(int|null) OptionalUser ID or null for current user.
Default:
null
Returns
bool
Defined in inc/extensions/teams/class-extension-teams.php