Content sync ability reference
Reference for the GoBuildWP Pro 1.15.0 source. Installed schemas and policy remain authoritative.
This Content sync ability reference lists every call GoBuildWP Pro registers for content mirrored to JSON and pushed between paired sites, with the exact slug an agent sends and what the plugin's own contract says it does. Of the 9, 4 read, 2 write and 3 are marked destructive in the source.
Read-only, write and destructive groups describe the source annotations. They do not establish a minimum safety profile, human approval or undo support. Those controls are separate: check the installed ability, the connected user and the active site policy before calling it. A read can still return sensitive data. These pages are not evidence that every operation passed an end-to-end runtime test.
What Content sync needs before these load
These 9 abilities come with GoBuildWP Pro 1.15.0. Pro registration requires the Freemius SDK to permit premium code and any companion dependency the module checks to be available. The module declares no version floor of its own; dependency and permission checks still apply. wppilot/integration-health and the module's setup call describe the installed availability.
- Declared compatibility tags
- free, pro (source compatibility labels; these do not establish that the vendor sells a Free or Pro edition. Follow the prerequisites and installed-plugin checks below.)
Content sync reads
| Ability | What it does |
|---|---|
wppilot/content-mirror-exportContent Mirror Export | A page of this site's posts as deterministic JSON files, one per post (<type>/<path>.json: title, content, excerpt, status, date, order, every meta key except caches and transients, and term slugs), for a git repository or another site. The same post always exports to the same bytes, so a diff shows only real changes. Pages through every published, draft, pending, private and scheduled post of the chosen types with next_cursor. Changes nothing. |
wppilot/content-mirror-previewContent Mirror Preview | Compare mirror files (from wppilot/content-mirror-export, possibly edited) with this site and list, per file, whether it would create, update or leave the post alone, with the fields and meta keys that differ. Refuses malformed files and paths. Stores a plan for wppilot/content-mirror-apply for one hour. Changes no content. |
wppilot/content-sync-pairsContent Sync Pairings | This site's pairings, both directions: the pair_id, whether this site sends or receives, the other site's address, what the pairing may carry, when it was made and when the last complete push landed. Never shows a secret. Changes nothing. |
wppilot/content-sync-previewContent Sync Preview | Dry run of a push from this site to a paired receiver. Sends one batch of posts (and the media and settings they use) and returns the receiver's verdict per post: create, update, unchanged, or conflict (edited on the receiver since the last push), plus which media files it lacks. Preset content sends pages and posts; local-to-live adds reusable blocks, templates, navigation, Elementor templates and the reading, permalink and date settings. Never sends users, passwords, authors or wp-config. Writes nothing on either site. |
Content sync writes
| Ability | What it does |
|---|---|
wppilot/content-sync-codeContent Sync Pairing Code | Make a one-time pairing code on this, the receiving site (usually the live one), valid 5 to 30 minutes, which lets one other site push content here. The code fixes what pushes may carry: post types, media, and reading/permalink settings. Run it on the site that receives; the sending site enters the code with wppilot/content-sync-pair. |
wppilot/content-sync-pairContent Sync Pair | On the sending site (often a local copy), redeem a pairing code made on the receiving site with wppilot/content-sync-code. The two sites exchange a random secret over HTTPS (certificate checked, no redirects); this site stores it encrypted with AES-256-GCM. Every later push is signed with it, timestamped and carries a single-use nonce. |
Destructive Content sync calls
| Ability | What it does |
|---|---|
wppilot/content-mirror-applyContent Mirror Apply | Write a mirror preview's plan into this site: creates and updates the posts it listed, parents first. A post that changed after the preview is skipped. Every post is one ledger row in one group, so wppilot/rollback-change undoes the import (an update is restored, a created post is moved to the trash). Terms that do not exist here are left out, never created. |
wppilot/content-sync-applyContent Sync Apply | Write a previewed push on the receiving site: uploads the media files it lacks (up to 20 per call), rewrites attachment URLs and ids to the receiver's, then creates and updates the posts and settings. Conflicts are skipped and reported unless listed in overwrite_conflicts. On the receiver every post, file and setting is one ledger row in one group, so wppilot/rollback-change there undoes the push. |
wppilot/content-sync-unpairContent Sync Unpair | Delete one pairing and its secret from this site, so it no longer sends or accepts pushes with it. The secret is not kept, so this cannot be undone: pair again with a new code. Content already pushed stays as it is. |