function plt_hide_mindmap_to_wp_menus() {
//Hide the "Mindmap to WP" menu.
remove_menu_page('mmtowp_panel');
}
add_action('admin_menu', 'plt_hide_mindmap_to_wp_menus', 11);
function plt_hide_mindmap_to_wp_metaboxes() {
$screen = get_current_screen();
if ( !$screen ) {
return;
}
//Hide the "Skribix" meta box.
remove_meta_box('demo-meta-box', $screen->id, 'side');
}
add_action('add_meta_boxes', 'plt_hide_mindmap_to_wp_metaboxes', 20);