/**
* Remove from admin the short description field
*/
function remove_short_description() {
remove_meta_box( 'postexcerpt', 'product', 'normal');
}
add_action('add_meta_boxes', 'remove_short_description', 999);
/**
* Remove from admin the full description
*/
add_action( 'add_meta_boxes_product', 'remove_metaboxes_edit_product', 9999 );
function remove_metaboxes_edit_product() {
// remove woocommerce product description
remove_meta_box( 'woocommerce-product-data', 'product', 'normal' );
// remove woocommerce product data
remove_post_type_support( 'product', 'editor' );
}
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter