Description
FieldLock Sync Guard for ACF detects ACF field-group JSON files that do not yet exist in the WordPress database or have a newer modified timestamp. While a sync is pending, it:
- Shows an administrator notice with a link to ACF’s sync screen.
- Disables the Update button on ACF field-group edit screens.
- Blocks normal field-group saves on the server.
Private Local JSON files are ignored. Detection is cached briefly and runs only in the WordPress administrator. The plugin works with ACF and ACF PRO, and does not include ACF.
FieldLock Sync Guard for ACF is an independent compatibility plugin and is not affiliated with, endorsed by, or sponsored by the owners of ACF or ACF PRO.
The plugin makes no remote requests, collects no telemetry, and contains no upsells.
Installation
- Upload the plugin directory to
/wp-content/plugins/, or install the plugin ZIP through Plugins > Add New. - Activate ACF or ACF PRO.
- Activate FieldLock Sync Guard for ACF.
- When a warning appears, follow its link and sync the pending field groups in ACF.
FAQ
-
What counts as a pending sync?
-
A non-private
group_Local JSON item is pending when its key does not exist as anacf-field-grouppost in the database, or when itsmodifiedtimestamp is newer than the database post’s modified timestamp. -
Can lock behaviour be customized?
-
Yes. Developers can use these filters:
fieldlock_sync_guard_for_acf_should_lockchanges the final lock decision.fieldlock_sync_guard_for_acf_sync_urlchanges the notice link.fieldlock_sync_guard_for_acf_cache_lifetimechanges the transient lifetime in seconds.fieldlock_sync_guard_for_acf_capabilitychanges the capability used for notices and locks.
Example:
add_filter( 'fieldlock_sync_guard_for_acf_cache_lifetime', function () { return 30; } );
Reviews
There are no reviews for this plugin.
Contributors & Developers
“FieldLock Sync Guard for ACF” is open source software. The following people have contributed to this plugin.
ContributorsTranslate “FieldLock Sync Guard for ACF” into your language.
Interested in development?
Browse the code, check out the SVN repository, or subscribe to the development log by RSS.
Changelog
1.0.0
- Initial release.
