# clanbite_user_can_delete_team_on_frontend

Filter whether the user may delete a team from the front-end manage UI.

```php
apply_filters( 'clanbite_user_can_delete_team_on_frontend', bool $can, int $team_id, int $user_id, Teams $extension )
```

## Parameters

- `$can` (bool) Whether deletion is allowed.
- `$team_id` (int) Team post ID.
- `$user_id` (int) User ID.
- `$extension` (Teams) Teams extension instance.
