Clanbite Teams

do_action( 'clanbite_team_challenge_accepted', int $challenge_id, int $match_id, int $challenged_team_id )

Fires after a team challenge is accepted and the match exists.

Action PHP

Parameters

$challenge_id (int)

Challenge post ID.

$match_id (int)

New cp_match ID.

$challenged_team_id (int)

Home team ID.

Example

add_action( 'clanbite_team_challenge_accepted', function ( $challenge_id, $match_id, $challenged_team_id ) {
	// Run your code.
}, 10, 3 );

Defined in inc/extensions/teams/class-team-challenges.php