Created
May 22, 2017 21:10
-
-
Save luizbills/7b637b86a2103b6e50a919f7cc2124c1 to your computer and use it in GitHub Desktop.
Remove WooCommerce Reviews Tab
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', 'lpb_wc_remove_reviews_tab', 98 ); | |
function lpb_wc_remove_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