Remove tabs from Woocommerce products page

In the this tutorial i will present for you a function that will remove the tabs from WooCommerce products single page.

This function can be customize and can only remove some tabs that you wish.

Let’s say you wish only to remove the additional information tab: they you just need to comment the other 2 unset. Simple comment the php unset function that you wish to display on the product page.

This function is available only if you did not have other custom tabs added. If you have this you will need to create new unset function and with the current custom tab used there.

add_filter( 'woocommerce_product_tabs', 'woo_remove_product_tabs', 150 );

function woo_remove_product_tabs( $tabs ) {
    unset( $tabs['reviews'] );          // Remove the reviews tab
    unset( $tabs['description'] );          // Remove the description tab
    unset( $tabs['additional_information'] );   // Remove the additional information tab
    return $tabs;

Leave a Reply

Your email address will not be published. Required fields are marked *