Remove product data tabs
Wed Nov 10 2021 07:17:33 GMT+0000 (Coordinated Universal Time)
Saved by
@itaiki
/**
* Remove product data tabs
*/
add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 98 );
function woo_remove_product_tabs( $tabs ) {
unset( $tabs['description'] ); // Remove the description tab
unset( $tabs['additional_information'] ); // Remove the additional information tab
return $tabs;
}
content_copyCOPY
Comments