How to remove description tab from woocommerce product page

0
169
description tab woocommerce

 

How to remove description tab from woocommerce product page

Whatever the reason, if you’d like to remove the description tab from WooCommerce, you can do so using the snippet below, which should be added to functions.php, or a custom plugin, or a snippets plugin:

// add this to functions.php, a custom plugin, or a snippets plugin to 
remove the description tab in woocommerce.
add_filter( 'woocommerce_product_tabs', 'sd_remove_product_tabs', 98 );
function sd_remove_product_tabs( $tabs ) {
 unset( $tabs['description'] );
 return $tabs;
}
0 0 vote
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments