Removing tabs on WooCommerce product pages

// PHP

What it does

Here we will remove three tabs from the single-product page in WooCommerce. Just comment-out or delete any rows that you don’t want to remove.

The Code

add_filter( 'woocommerce_product_tabs', 'guyPrimavera_remove_woo_tabs', 99 );

function guyPrimavera_remove_woo_tabs( $tabs ) {

    unset( $tabs['description'] );	// description tab
    unset( $tabs['reviews'] );	// reviews tab
    unset( $tabs['additional_information'] );	// additional information tab

    return $tabs;


How To Use It

Paste this snippet into your theme's functions.php or in a WordPress plugin.