asp_search_html
The HTML code, which is returned by the default live search feature.
1
WPD.Hooks.applyFilters('asp_search_html', html, searchId, searchInstanceId);
Copied!

Example

1
WPD.Hooks.addFilter('asp_search_html', 'asp', function(html){
2
return html.replace(
3
"string",
4
"string_to_replace_with"
5
));
6
}, 10);
Copied!
Copy link
Contents