Clanbite Matches

do_action( 'clanbite_cross_site_sync_push_succeeded', int $challenge_id, int $local_match_id, int $peer_match_id, string $peer_origin, array $body )

Fires after a peer site successfully stored the mirrored match.

Action PHP

Parameters

$challenge_id (int)

Local challenge ID.

$local_match_id (int)

Local match ID.

$peer_match_id (int)

Match ID on the peer site.

$peer_origin (string)

Peer site origin URL.

$body (array)

Outbound payload.

Example

add_action( 'clanbite_cross_site_sync_push_succeeded', function ( $challenge_id, $local_match_id, $peer_match_id, $peer_origin, $body ) {
	// Run your code.
}, 10, 5 );

Defined in inc/class-cross-site-match-sync.php