woof_print_content_before_search_form
This hooks allows to print any content before items of the WOOF search-form.
Example:
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 '';
});
From: v.2.1.6
Troubles? Ask for Support!
