Hello,
I am working on a plugin that will include the free version of ACF as it has saved me a ton of time on creating the custom post type fields from scratch.
For the plugin I would like to hide the menu item but in doing so if I install the full pro version or another plugin uses AFC the menu does not show due to my plugin setting return false.
My only issue is that if I hide the admin menu it will affect others once the plugin is distributed.
Is there a way to check for other installs or other plugins using this so I can revert the filter to return true?
// 3. Hide ACF field group menu item
add_filter(‘acf/settings/show_admin’, ‘__return_false’);
Thanks!