Home › Forums › Support › Multi Site Activation › Reply To: Multi Site Activation
July 21, 2016 at 7:59 pm
#211864
Tom
Lead Developer
Lead Developer
Hi Rob,
You can use a function like this to hide those sections:
add_action( 'admin_head','generate_remove_gp_metabox' );
function generate_remove_gp_metabox()
{
?>
<style>
.generate-metabox#gen-1,
.generate-metabox#generate-license-keys,
.generate-metabox#gen-delete {
display: none;
}
</style>
<?php
}
As for hooks, it’s not currently possible to change the capability. I’ve added a filter for the next version so it will be possible.
Let me know if you need more info 🙂