How to remove woocommerce tab?

If you want to remove tabs from woo-commerce product details page, then add this code in your function.php

Option 1-

Go to functions.php and Add the following code. (Go to Admin panel > Appearance > Editor > functions.php)

add_filter( 'woocommerce_product_tabs', 'woo_remove_tabs', 98 );
function woo_remove_tabs( $tabs ){
    if(is_product()){
      unset( $tabs['description'] ); // Remove the description tab
      unset( $tabs['reviews'] ); // Remove the reviews tab
      unset( $tabs['additional_information'] ); // Remove the additional information tab
      }
  return $tabs;
 }

By using this filter we can Remove the tabs From the Woocommerce Product Pages.

Option 2-

Or for an alternative approach just add this to your functions.php

remove_action( 'woocommerce_after_single_product_summary', 'woocommerce_output_product_data_tabs', 10);

Option 3-

Hide the tab by adding this to the bottom of woocommerce.css

 .woocommerce_tabs .tabs {
    display: none;
}

Read more -Woo-commerce: Remove tab from product page


While CSS is great, if the stylesheet doesn't load correctly, you could end up showing someone tabs without meaning to. It is best to remove the content before loading (server side), by using a filter, as you had mentioned.

See code below as provided from Woothemes for unsetting data tabs.
EDIT Place within the functions.php file inside your theme.

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

EDIT As noted by @BasvanDijk To remove altogether, you can use the following

add_filter( 'woocommerce_product_tabs', '__return_empty_array', 98 );

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

function woocommerce_template_product_description() {
    woocommerce_get_template( 'single-product/tabs/description.php' );
}

add_action( 'woocommerce_after_single_product_summary',  'woocommerce_template_product_description', 40 );

This work for me with the contributions i got here. Other than removing the tab and also to place back the text.

Credits to Swapnali & Mustafa