
Disables the sync repeater option of ACFML.
Use this plugin when translated pages need a different order of Repeater rows or different Flexible Content layouts from the default language.
Advanced Custom Fields Multilingual (ACFML) connects WPML with Advanced Custom Fields. Its repeater sync option synchronizes the order of Repeater rows and Flexible Content layouts with the default language. This plugin sets that option to off by default and hides its checkbox on existing-post edit screens.
The change applies site-wide. It does not change field translation rules or WPML’s translation-editor settings.
Requirements
- WordPress 6.0 or later and PHP 8.0 or later.
- WPML, its ACFML add-on, and ACF with support for the field types you use.
- ACF PRO for repeater and flexible content fields.
The required plugins and their licenses are not included.
Want to contribute?
Report issues or contribute on GitHub.
FAQ
Does this disable every kind of ACF field synchronization?
No. It disables ACFML’s optional repeater sync choice. ACFML field-group modes, field translation preferences, WPML translation editors and other integrations can still synchronize content.
For field translation settings, see WPML’s guide to translating ACF repeater fields.
Can I apply it to individual languages or field groups?
No. The optional choice stays off site-wide while the plugin is active. There are no separate controls for individual users, posts, languages, field groups or post types.
Will it change my existing translated content?
No. The plugin does not edit posts or ACF field values, undo earlier synchronization or restore layouts that were already changed.
Before editing existing translations, back up the content. Save and reopen one translation on staging to check whether other WPML settings still synchronize its fields.
Can I re-enable the repeater sync option?
Deactivate this plugin to let ACFML control repeater synchronization again, then review the setting in ACFML. Activation clears the current site’s saved sync preferences; deactivation does not restore them. Updating while active ignores any stored preferences without clearing them, so those preferences can take effect again after deactivation.
Why is the checkbox still visible or synchronization still happening?
- If the checkbox is still visible, check that this plugin and a supported version of ACFML are active.
ACFML_REPEATER_SYNC_DEFAULT is set to false only if it has not already been defined, even if ACFML is inactive. If your site defines it as true, change or remove that definition to keep ACFML from defaulting to sync. See the ACFML constant reference.
If the checkbox is hidden but fields still synchronize, check ACFML’s field-group mode, field translation preferences and the WPML translation editor being used.
ChangeLog
1.1.0
- Keep ACFML’s optional repeater sync setting off when saving, not just hidden in the editor.
- Hide the sync controls in the block editor and on ACF options and taxonomy screens, in addition to the classic editor.
1.0.1
- Raise the minimum supported WordPress version from 5.0 to 6.0. Repeater-sync behavior is unchanged.
1.0