Content of the page

woot_filter_provider_


This hooks allows to make compatible a woocommerce filters plugins with WOOT.

Lets review filter adaptation for WOOF (as an example):

  • into the file functions.php of the current wordpress theme add next code:
  • After this WOOT will be listening query arguments from WOOF

As you can see main thing there is define array $args fields in the right way.


Also the hook can be used for creating shortcodes with preselected products, lets look on the code for shortcode [woot_upsells]:

The hook is added into the the class WOOT_WooCommerceUniversal: