pierrebalian of Rocket55 Web Team
5/31/2017 - 9:09 PM

Unset Woocommerce Tabs

Unset Woocommerce 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['reviews'] );  // Removes the reviews tab
    unset( $tabs['additional_information'] );  // Removes the additional information tab
    return $tabs;
}