class Cross_Site_Match_SyncRegisters Cross_Site_Match_Sync::handle_incoming() and pushes outbound mirrors after accept.
class final
- Full name
Kernowdev\Clanbite\Cross_Site_Match_Sync
Constants
| Name | Value | Description |
|---|---|---|
META_SYNC_SOURCE_SITE | 'cp_match_sync_source_site' | |
META_SYNC_SOURCE_MATCH_ID | 'cp_match_sync_source_match_id' |
Methods
get_legacy_hmac_key()Legacy optional shared HMAC secret (UI removed; filter or leftover option value).handle_incoming()Create or return an existing mirrored cp_match from a signed POST.maybe_push_mirror_match()After a challenge is accepted on the challenged site, create the same match on the challenger’s Clanbite site when the snapshot came from a remote install.register_routes()Register REST route for incoming mirrored matches.rest_site_sync_public_key()Public key for verifying inbound sync signatures from this install (read-only, unauthenticated).
Defined in inc/class-cross-site-match-sync.php