# clanbite_team_can_invite_players

Filters whether players can be invited to a team (defaults to the team's `allow_invites` option).

```php
apply_filters( 'clanbite_team_can_invite_players', bool $allowed, int $team_id, array<string,                        mixed> $options, \Kernowdev\Clanbite\Extensions\Teams $extension )
```

## Parameters

- `$allowed` (bool) Whether inviting is allowed.
- `$team_id` (int) Team post ID.
- `$options` (array<string,                        mixed>) Team options.
- `$extension` (\Kernowdev\Clanbite\Extensions\Teams) Teams extension.

## Changelog

| Version | Description |
| --- | --- |
| 1.3.0 | Updated |
