# clanbite_teams_user_can_manage()

Whether the user may use the front-end manage UI (editor/admin roster, or site admin).

```php
clanbite_teams_user_can_manage( 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`
