WOOF - WooCommerce Products Filter

woof_get_tax_query

Useful for taxonomies relations manipulation, for example changing relation from OR to AND. Doesn’t work with dynamic recount together.

  • index.php
  • private function get_tax_query
add_filter('woof_get_tax_query', 'my_woof_get_tax_query');
function my_woof_get_tax_query($tax_args){
    //do smth here
    return $tax_args;
}