Skip to content
Hookturn Hookturn Docs

Disable local field groups

By default, ACF Remote Sync will list all field groups for sync — this includes field groups registered via PHP or field groups loaded via ACF JSON. If you wish to prevent local field groups from remote sync, you may use the acfrs/rest/should_export_local_field_groups filter as per the example below.

add_filter( 'acfrs/rest/should_export_local_field_groups', '__return_false' );

You may place this code in your theme’s functions.php file, a custom plugin, or an mu-plugin. You may also use a snippet manager plugin.