WooCommerce : Remove Metaboxes On Product Edit Admin Page

For Disabling Product tags or Product short description on product edit page we need the “ID” of the metabox and its position (‘normal’ or ‘side’).
For example:
null

function RemoveProductMetaboxes() {
  // For remove short description
  remove_meta_box( 'postexcerpt', 'product', 'normal' );
  // For remove product tags
  remove_meta_box( 'tagsdiv-product_tag', 'product', 'side' );
}
add_action( 'add_meta_boxes_product', 'RemoveProductMetaboxes', 99 );

Enjoy

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top