WooCommerce : How to Remove Product Tabs on Product page.

The default product tabs On Product page are:

  1. Description
  2. Additional Information
  3. Reviews

The 'woocommerce_product_tabs' filter provided by WooCommerce should be used for removing tabs on single product page in WooCommerce. The code should be added to the functions.php file of your theme.

Before


function RemoveReviewsTab( $tabs ) {
  unset( $tabs['additional_information'] );
  unset( $tabs['description'] );
  unset( $tabs['reviews'] );
  return $tabs;
}
add_filter( 'woocommerce_product_tabs', 'RemoveReviewsTab' );

After

Enjoy

Leave a Comment

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

Scroll to Top