This snippet requires no introduction πŸ™‚

PHP snippet: remove product tabs from WooCommerce single product page


// Remove Additional Information Tab WooCommerce

add_filter( 'woocommerce_product_tabs', 'remove_info_tab', 98);
function remove_info_tab($tabs) {

 unset($tabs['additional_information']);

 return $tabs;
}

// Remove Reviews Tab WooCommerce

add_filter( 'woocommerce_product_tabs', 'remove_reviews_tab', 98);
function remove_reviews_tab($tabs) {

 unset($tabs['reviews']);

 return $tabs;
}

Share:

Leave a Reply