Hello,
Maybe I’ve never seen it before, but in block handles, there is a button “Edit field group”.
Is there anyway to restrict this button / add a capacity / roles to disable this button for un-advanced users ?
I don’t want autors to edit the fields.
Thanks a lot !
Hi @gaeld
Use the acf/settings/capability
settings filter to turn this off. The code is will be something like this:
add_filter('acf/settings/capability', 'my_capability_function');
function my_capability_function() {
return current_user_can('manage_options');
}
For more info, check out: http://www.advancedcustomfields.com/resources/acfsettings/