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

Example

1
wp.hooks.addFilter('asp_search_html', 'asp', function(html){
2
return html.replace(
3
"string",
4
"string_to_replace_with"
5
));
6
}, 10);
Copied!
Last modified 10mo ago
Copy link