# Teams::user_can_manage_team_on_frontend()

Whether the user may open the front-end manage screen (admin or editor, not banned).

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

## Parameters

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

## Return

`bool`
