Created
October 11, 2017 15:12
-
-
Save DanielSantoro/e51c5ad9f811c1424830019063e1519d to your computer and use it in GitHub Desktop.
Removes WooCommerce Reviews
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
add_filter( 'woocommerce_product_tabs', 'remove_wc_reviews_tab', 98 ); | |
function remove_wc_reviews_tab($tabs) { | |
unset($tabs['reviews']); | |
return $tabs; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment