Want to know what WordPress Theme a site is using? Check Out Now!

How to Remove/Disable Product Reviews in WooCommerce?

Do you want to remove the product reviews feature from your WordPress store?

The product reviews feature comes by default when you install the WooCommerce plugin on your WordPress website.

There are many scenarios when you don’t want users to see the product reviews including no reviews on a product or more negative ratings. which discourages users to purchase the product.

You can use the below code to disable the product reviews in WooCommerce.

/**
 * Remove Product Reviews in WooCommerce
 */
add_action( 'init', 'maverick_remove_product_reviews_woocommerce');

function maverick_remove_product_reviews_woocommerce() {
    remove_action('woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30);
    remove_action('woocommerce_product_tab_panels', 'woocommerce_product_reviews_panel', 30);
}

Leave a Reply

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