Created
February 12, 2019 12:33
-
-
Save bologer/b94286241cf65221bd92215d471bbc6b to your computer and use it in GitHub Desktop.
Remove WooCommerce tab from AnyComment
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', 'sb_woo_remove_reviews_tab', 1000); | |
function sb_woo_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
Вставлять без
<?php
Use without
<?php