yanknudtskov
10/24/2014 - 11:07 AM

Disable WooCommerce Reviews completely

Disable WooCommerce Reviews completely

add_filter( 'woocommerce_product_tabs', 'sb_woo_remove_reviews_tab', 98);
function sb_woo_remove_reviews_tab($tabs) {
 	unset($tabs['reviews']);
 	return $tabs;
}

remove_action( 'woocommerce_product_tabs', 'woocommerce_product_reviews_tab', 30);
remove_action( 'woocommerce_product_tab_panels', 'woocommerce_product_reviews_panel', 30);