Hide the Notifications meta box
-
I cant seem to hide the Notifications meta box on a post.
I like the functionality of the automatic alerts on a status change for a post, but I dont actually want people to see the Notifications box.
I’ve tried this but it doesnt seem to work.
if (is_admin()) : function remove_post_meta_boxes() { if(!current_user_can('activate_plugins')) { remove_meta_box('edit-flow-notifications', 'post', 'normal'); } } add_action( 'admin_menu', 'remove_post_meta_boxes' ); endif;
Can anyone help? How do I hide the Notifications box please?
- The topic ‘Hide the Notifications meta box’ is closed to new replies.