Skip to content

Instantly share code, notes, and snippets.

@abid112
Last active November 23, 2017 19:06
Show Gist options
  • Save abid112/0710240a56c2dae10dea6addf7bee98c to your computer and use it in GitHub Desktop.
Save abid112/0710240a56c2dae10dea6addf7bee98c to your computer and use it in GitHub Desktop.
If you don't want to see "Woocommerce Review" section on your product page, then add this line on your functions.php
add_filter( 'woocommerce_product_tabs', 'wcs_woo_remove_reviews_tab', 98 );
function wcs_woo_remove_reviews_tab($tabs) {
unset($tabs['reviews']);
return $tabs;
}
@EmonHossainDiza
Copy link

thank you

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment