Remove WooCommerce Review

Hi again!

I’m pretty sure that a lot of you have your own online stores these day. The proof is that a lot of e-mails coming to me asking about WooCommerce. They are asking about how to remove the reviews on the product.

Review is just like a comment into your post, it can be a positive comments or maybe a negative comments, who knows?

To do this modification, you have to add this code into your functions.php of your theme at the very end of it (before this sign: ?>):

add_filter( 'woocommerce_product_tabs', 'sb_woo_remove_reviews_tab', 98);
function sb_woo_remove_reviews_tab($tabs) {

 unset($tabs['reviews']);

 return $tabs;
}

Once you made it, save the file and your product reviews will be gone!

Advertisements

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s