woof_slider_meta_query_type
Hook woof_slider_meta_query_type is for meta slider values types, for example decimal values:
add_filter('woof_slider_meta_query_type',function($type,$key){ return "DECIMAL(5,3)"; },2,10);[...]
Hook woof_slider_meta_query_type is for meta slider values types, for example decimal values:
add_filter('woof_slider_meta_query_type',function($type,$key){ return "DECIMAL(5,3)"; },2,10);[...]
This one regulate text search behavior 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
add_filter('woof_text_search_like_option', function() { return TRUE; });into functions.php of your current wp theme – then in WOOF text input write Logrono – will be found all products with text ‘Logrono‘ and ‘Logroño‘ (of course if such text exists at all) From: v.1.2.2/2.2.2 [...]
This hook allows manipulations with meta query in WOOF search query:
add_filter('woof_get_meta_query', function($meta_query) { //your code here return $meta_query; });From v.2.2.1/1.2.1 [...]
For experiments of developers about memory overloading in Dynamic recount.
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 [...]
Allows to change the template on the fly in shortcode From v.1.1.8/2.1.8 [...]
For extension: Quick Search Allows to change sort headers of the table (when sorting in the form presented by drop-down)
add_filter('woof_qs_sort_select_data', 'change_title'); function change_title($data) { if (isset($data)) { $data = __('Sort by price: low to high', 'woocommerce-products-filter'); } return $data; }[...]
For extension: Quick Search Allows to change a column header of a table. Example:
add_filter('woof_qs_get_template_structure', 'change_title'); function change_title($data) { if (isset($data)) { $data = "Price of the products"; } return $data; }[...]
For extension: Quick Search It is necessary to change the template parameters before loading the page – for example, depending on the device. [...]
Allows manipulation by taxonomies blocks toggle state, for example make them closed on mobile devices:
add_filter('woof_block_toggle_state', function($block_is_closed) { if (wp_is_mobile()) { $block_is_closed = true; } return $block_is_closed; });[...]