do_action( 'clanbite_team_create_form_step_{step_key}', array<string, mixed> $step, int $step_number )Fires inside one step of the create-team wizard.
The dynamic portion is the step key (for example basic_details, invites, matches). Step-specific variant of clanbite_team_create_form_step.
Action PHP
Parameters
$step(array<string, mixed>)Step configuration.
$step_number(int)1-based step number.
Example
add_action( 'clanbite_team_create_form_step_{step_key}', function ( $step, $step_number ) {
// Run your code.
}, 10, 2 );Defined in src/blocks/teams/team-create-form/render.php
Changelog
| Version | Description |
|---|---|
| 1.3.0 | Updated. |