Hi
Using the latest version.
The following instructions to hide from all users
add_filter('acf/settings/show_admin', '__return_false');
does not appear to work when adding it to a child theme’s function.php file
http://www.advancedcustomfields.com/resources/how-to-hide-acf-menu-from-clients/
Any help appreciated
Thanks
Hi @chronwin
This should be able to work. Have you tried adding it for specific users using the other snippet on the same resource page?
add_filter('acf/settings/show_admin', 'my_acf_show_admin');
function my_acf_show_admin( $show ) {
return current_user_can('manage_options');
}
Hi
My original q was posted back in January, so my memory is a bit hazy on this now. I think part of the problem at the time may have been that I had installed the free version instead of using my licensed version
I’ll have to revisit this and take another look.
Wont be able to do so though for a day or so, will post back once I do and let you know how i fared with it.
Thanks
Hi @chronwin
Awesome! let me know how it goes.
I’m no longer having an issue with this. Sorry for the late response, a number of personal issues took my attention and were a priority
Thanks
This reply has been marked as private.