Local JSON Sync saves your field group definitions as JSON files in your site’s uploads folder (wp-content/uploads/fieldforge-json/). This is a Free feature and does not need a license. It exists primarily for development workflows where a developer uses version control (like Git) to manage code changes and deploy them across environments (local machine, staging server, production server). For most content managers, this feature runs silently in the background and requires no action beyond occasionally clicking a “Sync” button.
Do not confuse this with ACF’s Local JSON folder. Field Forge writes its own files to wp-content/uploads/fieldforge-json/ by default. During migration from ACF, Field Forge can also read ACF’s acf-json/group_*.json files as a source when no ACF field-group database records exist.
This section explains what JSON Sync does, why it exists, when you might encounter it, and what to do when you see sync notifications in the admin.
Why Local JSON Sync Exists
When a developer builds a site, they typically create field groups on their local machine. Without JSON Sync, field group definitions live only in the database. To move them to the staging or production server, the developer would have to manually export and import JSON files every time they make a change. JSON Sync automates this by writing field group definitions to files in the uploads folder (wp-content/uploads/fieldforge-json/). The developer keeps those files in version control, or copies them into the theme and adds that folder with the fieldforge/local_json/load_paths filter (Field Forge does not look in theme folders by itself). When the files reach another server, Field Forge sees that they differ from the database and offers to apply them.
Content managers see only a notice when the files differ from the database. The fields update once someone clicks the sync button.
How It Works Behind the Scenes
- When JSON Sync is enabled, every time a field group is saved in the admin, Field Forge writes a JSON file to
wp-content/uploads/fieldforge-json/(thefieldforge/local_json/save_pathfilter can move it to another folder inside the uploads folder whose name starts withfieldforge) - The JSON file contains the complete field group definition: fields, types, settings, layout, location rules, conditional logic, and order
- The developer includes these files in their version control repository (Git, SVN, etc.)
- When updated files are deployed to a server, Field Forge compares each file with the database version by content hash, when an admin page loads (at most once every five minutes)
- If a file differs and the page that ran the check is a Field Forge screen, a notice appears: “Field Forge: N field group(s) have changes in JSON files.”, with a Review & Sync link. The notice is not stored: it appears only on the page load that ran the check
What Content Managers Need to Know
Most of the time, JSON Sync works invisibly. Here are the two situations where you might need to take action:
Situation 1: You see a “field groups have changes in JSON files” notice- Click Review & Sync in the notice. It opens the Import / Export screen, which has no item in the Field Forge menu (with the Pro add-on active, the same card is also part of Field Forge > Tools)
- The Local JSON Sync card shows how many field groups have changes in their JSON files
- Click the Sync JSON → DB button
- Field Forge updates the database field groups to match the JSON files
- The screen shows “Synced N group(s) from JSON to DB.”
- This means your developer pushed changes — the updated fields now reflect their work
If you edit a field group in the admin while JSON Sync is enabled, your changes are saved to the database AND written to the JSON file in the uploads folder. If a developer later pushes their own version of that JSON file, there could be a conflict.
| Scenario | What Happens |
|---|---|
| Only the developer changed the JSON file | Sync applies their changes cleanly when you click Sync |
| Only you changed the field group in the admin | Your changes are live. The JSON file was updated with your changes. If the developer pulls your updated JSON file, they see your changes. |
| Both you and the developer changed the same field group | There is no merge and no conflict screen. Sync JSON → DB replaces the database version with the file (the file wins). Saving the field group in the admin writes your version to the file instead. |
Enabling or Disabling JSON Sync
- Go to Field Forge > Settings
- In the General section, find the Local JSON row. Its checkbox reads “Save field groups as JSON files on disk (for version control)”. It is available on the Free plan and needs no license.
- Turn it on or off
- The save path is shown under the checkbox:
wp-content/uploads/fieldforge-json/. There is no UI control for this. Your developer can move it with thefieldforge/local_json/save_pathfilter, but only to another folder inside the uploads folder whose name starts withfieldforge; any other path is ignored. - Save settings
Key Details About JSON Files
- JSON files are plain text containing only the field group structure — they do not contain any post content, editor data, user information, or media files
- Saving a field group with sync enabled writes the corresponding JSON file immediately
- Deleting a field group also deletes its JSON file
- The sync folder can be moved by your developer with a filter, inside the uploads folder only
- JSON Sync works with any version control system (Git, SVN, Mercurial, etc.)
- Switching themes does not affect the files: they are in the uploads folder, not in the theme.
Communication Tips for Teams Using JSON Sync
If you work closely with a developer who uses JSON Sync:
- Communicate before editing field groups in the admin. If the developer is also working on field group changes in their code, simultaneous edits create conflicts.
- Let the developer know when you add or remove fields. They may need to update theme templates to display new fields or remove references to deleted ones.
- When you see a sync notification, click Sync promptly. Delaying the sync means your database has stale field definitions while the JSON files have the latest version. This can cause confusion if you edit a field group in the meantime.
> Good to know: If you are a content manager who never works with theme files or version control, you can safely ignore this feature entirely. It runs silently if your developer enabled it. The only time you need to do anything is when a sync notification appears — just click the Sync button and you are done.
> Tip: If you accidentally make changes to a field group and want the developer’s version instead, use the Sync feature to overwrite your changes with the JSON file version. Conversely, if you want your changes to stick, save the field group in the admin — the JSON file updates to match your version.
—