# clanbite_teams_user_can_delete_team()

Whether the user may permanently delete a team from the front-end manage screen.

```php
clanbite_teams_user_can_delete_team( int $team_id, ?int $user_id = null ): bool
```

## Parameters

- `$team_id` (int) Team post ID.
- `$user_id` (int|null) User ID, or null for the current user.

## Return

`bool` False when Teams is inactive.
