Sometimes you want to remove some metaboxes of the edit page. Place the following code into your functions.php file.
remove_meta_box(<metabox-name>, <post_type>, <WP_Screen $screen>)
Metabox-name is in html code and you can find out just inspecting edit post page.
Wp_screen can be “side” for rigth column metaboxes or “normal” for central metaboxes.
add_action('wp_dashboard_setup', 'disable_my_metabox',99); function disable_my_metabox() { global $post; if (is_object($post)) { remove_meta_box('metabox-name',$post->post_type,'side'); } }