Content of the page

Hook woof_redraw_elements_after_ajax

Allows to add any messages while user make filtrations in AJAX mode. Example:

In example above user gets message if select any color in the filter. Demo see here – select any color. By this logic you can any commercial suggestions for the user while they use filtration. Be attentive with: $fields[‘.entry-title’] = ob_get_contents();… read more

woof_slider_meta_query_type

Hook woof_slider_meta_query_type is for meta slider values types, for example decimal values:

woof_text_search_like_option

This one regulate text search behaviour and by default returns FALSE. If it will be return TRUE text searching will be working without considering special symbols. For example, if to insert next code

into functions.php of your current wp theme – then in WOOF text input write Logrono – will be found all products… read more

woof_get_meta_query

This hook allows manipulations with meta query in WOOF search query:

From v.2.2.1/1.2.1  

woof_counter_method

For experiments of developers about memory overloading in Dynamic recount. This hook uses in file: wp-content\plugins\woocommerce-products-filter\classes\counter.php In __constructor of class WP_QueryWoofCounter When this hook returns TRUE in WP_Query attributes is added: nopaging=false and posts_per_page=1 – in some cases this helps to decrease memory comsumtion, but doesn works for all sites. From v.1.1.8/2.1.8  

woof_ext_custom_title_XXX

Changes label for checkbox of 3 next extensions: In stock checkbox, Featured products, On sales checkbox. Instead of ‘XXX’ use: by_instock, by_featured, by_onsales From v.1.1.8/2.1.8  

woof_template_part

Allows to change the template on the fly in shortcode [woof_products]   From v.1.1.8/2.1.8  

woof_qs_sort_select_data

For extension: Quick Search Allows to change sort headers of the table (when sorting in the form presented by drop-down)

 

woof_qs_get_template_structure

For extension: Quick Search Allows to change a column header of a table. Example:

 

woof_qs_shortcode_data

For extension: Quick Search It is necessary to change the template parameters before loading the page – for example, depending on the device.