Skip to content

How to Remove Review Tab in WooCommerce without any plugin.


Want to remove review tab in woocommerce without using any plugin? We got you covered!

Today, I will solve this problem for you.

There could be various reasons so you want to remove reviews tab

  1. You may not want to display reviews on the site.
  2. You may have a low number of reviews and do not want to show an empty tab.
  3. You may want to use a different method to display reviews, such as displaying them on a separate page or using a third-party plugin.
  4. To minimize the number of tabs on the product page to make the page less cluttered and easier to navigate.
  5. you may want to remove the reviews tab if you are not using them in your store or if they are not relevant to the product you are selling.

Also read: How to add custom additional tabs to woo-commerce product page using code

To remove reviews tab from your product page, you can use the woocommerce_product_tabs filter .

Code Snippet:

add_filter( 'woocommerce_product_tabs', 'woo_remove_reviews_tab', 98 );
function woo_remove_reviews_tab( $tabs ) {
    unset( $tabs['reviews'] );
    return $tabs;

Paste this code in your child theme’s functions.php or in sitewide plugin.

Please note that this will remove the reviews tab from all products, if you want to remove it only for certain products you need to add a condition before removing the tab.

Wait, Let’s cover one more scenario.

Code Snippet:

 * Remove reviews tab from product pages if there are no reviews
add_filter( 'woocommerce_product_tabs', 'woo_conditionally_remove_reviews_tab', 98 );
function woo_conditionally_remove_reviews_tab( $tabs ) {
    global $product;
    if ( !comments_open() ) {
        unset( $tabs['reviews'] );
    return $tabs;

The code above will check if the product has no reviews avaiable using comments_open() function and if it’s true it will remove the reviews tab from the product page.

Please note that this will remove the reviews tab only when there are no reviews, if the product has reviews the tab will show up.

Is It worth removing the reviews tab?

It’s worth noting that reviews can be an important factor in the purchasing decision of customers, so removing the reviews tab may have an impact on the sales and conversion rate of the store.

Before removing the reviews tab, it’s important to consider the potential impact it may have on the store’s performance and customer experience.

Scan the code