andru26
3/30/2017 - 11:16 PM

Woocommerce - Disable reviews

Woocommerce - Disable reviews

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