I've been adding/removing meta boxes with code similar to:
function mw_remove_postboxes() {
// Remove metaboxes from WooCommerce screens
remove_meta_box( 'wp-display-header', 'product', 'normal' );
remove_meta_box( 'wp-display-header', 'shop_order', 'normal' );
remove_meta_box( 'wp-display-header', 'shop_coupon', 'normal' );
remove_meta_box( 'wp-display-header', 'acf', 'normal' );
// Remove metaboxes from Banners post type management
remove_meta_box( 'wp-display-header', 'banners', 'normal' );
remove_meta_box( 'wpseo_meta', 'banners', 'normal' );
}
add_action( 'do_meta_boxes' , 'mw_remove_postboxes' );
Now I have a slightly different need, where I need to remove a meta box from the edit-tags.php screen /edit-tags.php?action=edit&taxonomy=featured&tag_ID=22&post_type=page
This is the page for editing a taxonomy. I've found ways to remove a taxonomy meta box from custom post types, but none for this case.
Could you help?