Clanbite Matches

apply_filters( 'clanbite_cross_site_sync_verify_source', bool $allow, string $source_host, array $body )

Whether to accept an incoming sync from this source host after the signature is valid.

Filter PHP

Parameters

$allow (bool)

Default true.

$source_host (string)

Normalized host from source_site.

$body (array)

Full decoded body.

Example

add_filter( 'clanbite_cross_site_sync_verify_source', function ( $allow, $source_host, $body ) {
	// Change $allow here.
	return $allow;
}, 10, 3 );

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