HUSKY - Products Filter Professional for WooCommerce

woof_print_content_before_search_form

Este hook permite exibir qualquer conteúdo antes dos itens do formulário de pesquisa WOOF.

Exemplo:

 add_filter('woof_print_content_before_search_form', function($content) {
        global $WOOF;
        if ($WOOF AND woof()->is_isset_in_request_data(woof()->get_swoof_search_slug()))
        {
            return $content . 'Found results: ' . do_shortcode('[woof_found_count]') . '<br /><br />';
        }

        return '';
    });

De: v.2.1.6