/**
* Initialize all the things.
*/
+remove_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30);
+remove_action( 'woocommerce_product_tab_panels', 'woocommerce_product_reviews_panel', 30);
require get_stylesheet_directory() . '/inc/init.php';
-add_filter( 'woocommerce_product_tabs', 'wcs_woo_remove_reviews_tab', 98 );
-function wcs_woo_remove_reviews_tab($tabs) {
- unset($tabs['reviews']);
- return $tabs;
-}
-
/**
* Do not add custom code / snippets here.
* While Child Themes are generally recommended for customisations, in this case it is not