Support

Account

Home Forums Backend Issues (wp-admin) Remove a metabox from edit page Reply To: Remove a metabox from edit page

  • Correction:

    /* Remove Custom Taxonomy Meta Boxes */
    function dads_remove_tax_meta() {
    	remove_meta_box( 'ad-zonesdiv', 'digital-ads', 'side' );
    }
    
    add_action( 'add_meta_boxes' , 'dads_remove_tax_meta' );

    “add_meta_boxes” is the better action to capture and post removes it from all post types while I can specify the post type directly.