# clanbite_team_action_dispatch

Fires when a team front action URL is resolved (BuddyPress-style dispatch).

Use to authorize, redirect, or enqueue for custom actions from
`clanbite_team_front_action_rewrite_slugs`. Return a template path
from a callback on `clanbite_load_team_action_template` if needed.

```php
do_action( 'clanbite_team_action_dispatch', string $team_action, int $team_id, Teams $extension )
```

## Parameters

- `$team_action` (string) Action slug (e.g. manage).
- `$team_id` (int) Team post ID.
- `$extension` (Teams) Teams extension.
