Woocommerce remove tab from product page.

Sometime we do not need to show all product tabs on single page. It is very simple to remove product tab by using woocommerce product tab filter woocommerce_product_tabs. You can remove tabs according to your requirement,i am just showing you an example by removing "reviews" tab.

Add below code to your theme functions.php:

add_filter( 'woocommerce_product_tabs', 'remove_prduct_tab' 30);

function woo_remove_product_tabs( $tabs ) {

    unset( $tabs['reviews'] );      	

    return $tabs;

}

You can also remove multiple tabs like description and reviews tabs.

add_filter( 'woocommerce_product_tabs', 'remove_prduct_tab' 30);

function woo_remove_product_tabs( $tabs ) {

    unset( $tabs['description'] );    
    unset( $tabs['reviews'] );      	

    return $tabs;

}