do_action( 'clanbite_team_action_dispatch', string $team_action, int $team_id, Teams $extension )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.
Action PHP
Parameters
$team_action(string)Action slug (e.g. manage).
$team_id(int)Team post ID.
$extension(Teams)Teams extension.
Example
add_action( 'clanbite_team_action_dispatch', function ( $team_action, $team_id, $extension ) {
// Run your code.
}, 10, 3 );Defined in inc/extensions/teams/class-extension-teams.php