Clanbite Matches

do_action( 'clanbite_cross_site_sync_push_rejected', int $code, array $data, string $url, array $body )

Fires when the peer returns a non-success sync response.

Action PHP

Parameters

$code (int)

HTTP status.

$data (array)

Decoded body (may be empty).

$url (string)

Remote REST URL.

$body (array)

Outbound payload.

Example

add_action( 'clanbite_cross_site_sync_push_rejected', function ( $code, $data, $url, $body ) {
	// Run your code.
}, 10, 4 );

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