Skip to content

Instantly share code, notes, and snippets.

@bologer
Created February 12, 2019 12:33
Show Gist options
  • Select an option

  • Save bologer/b94286241cf65221bd92215d471bbc6b to your computer and use it in GitHub Desktop.

Select an option

Save bologer/b94286241cf65221bd92215d471bbc6b to your computer and use it in GitHub Desktop.
Remove WooCommerce tab from AnyComment
<?php
add_filter( 'woocommerce_product_tabs', 'sb_woo_remove_reviews_tab', 1000);
function sb_woo_remove_reviews_tab($tabs) {
unset($tabs['reviews']);
return $tabs;
}
@bologer
Copy link
Copy Markdown
Author

bologer commented Feb 12, 2019

Вставлять без <?php


Use without <?php

@kepkame
Copy link
Copy Markdown

kepkame commented Jan 27, 2020

Спасибо за помощь!

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