WOOF - WooCommerce Products Filter

Update WooCommerce Products Filter v.2.2.5.6

  • New hook woof_image_add_term_desc for filter-images (premium extension) – allows hide/show term description in tooltip. Default is: true.
    add_filter('woof_image_add_term_desc', function($tax_slug) {
        return false;
    }, 10, 1);
    

  • New hook ‘woof_delete_img_url‘ – allows to change img url for delete-image
    add_filter('woof_delete_img_url', function($current_img) {
        return 'https://my-site.com/wp-content/my-woof-del.png';
    }, 10, 1);
    

  • New option for widget ‘Mobile mode‘ – Hide the widget on a mobile device and a button appears to show the filter. See its options in tab ‘Design‘.
  • New attribute for shortcode [woof mobile_mode=1 sid=’test’] – Hide the WOOF filter form on a mobile device and a button appears to show the filter. Attribute ‘sidmust be! See its options in tab ‘Design‘.
    The button is automatically added to the ‘.woocommerce-products-header‘ selector can be changed using hook ‘woof_mobile_btn_place_container‘. To display the button in a specific place use the shortcode [woof_mobile] – this shortcode adds a container to which the button is inserted.