WOOF - WooCommerce Products Filter

Manipulating by CSS class in tag body while filtering

If it is necessary to add any special CSS class in tag <body>, it is possible with hook 'body_class'.



On the code above is scenario: when WOOF searching is going by 'brand' and current page is page of category with ID 23 - system add CSS classes 'term-shoes tax-product_cat' to tag <body>.



WOOBE - WooCommerce Bulk Editor and Products Manager Professional