do_action( 'clanbite_cross_site_sync_push_failed', \WP_Error $response, string $url, array $body )Fires when outbound peer match sync fails (HTTP transport or WP_Error).
Action PHP
Parameters
$response(\WP_Error)Error object.
$url(string)Remote REST URL.
$body(array)Payload that was sent.
Example
add_action( 'clanbite_cross_site_sync_push_failed', function ( $response, $url, $body ) {
// Run your code.
}, 10, 3 );Defined in inc/class-cross-site-match-sync.php