We're looking to use metabox for a number of plugins on a multisite install and I'm wondering if there's any out-of-the-box way of hiding the MB admin menu items for site admins when a feature in MB AIO is activated, ie, so we can add metaboxes, etc with code, but not allow users below network admin to add or remove them...
I know this can be done with remove_menu_page( $menu_slug ) within the plugins themselves, but I'm just wondering if there's a setting I'm missing somewhere?
Thanks for the reply.
Am I right in thinking that if we activate the plugins, copy out the code they generate into our custom plugins and then turn the plugins off, we'll still be able to use that code? ie, are all the functions in the core metabox plugin, so as long as we have that active everything should work?
If the code is not for user profile, settings page or taxonomies, then you can just copy it and deactivate the builder extension. It will work.
If the code is for user profile, settings page or taxonomies, you'll need the corresponding plugin activated (MB User Meta, MB Settings Pages, MB Term Meta). The builder extension then can be deactivated.
In either cases, you still need to keep Meta Box activated.
Viewing 4 posts - 1 through 4 (of 4 total)
The topic ‘Hiding metabox admin menu items’ is closed to new replies.