K
K
Knowledge Base - Ajax Search Pro for WordPress
Buy Ajax Search Pro!
Documentation
Get Support
Search…
Knowledge Base
Safe Coding Guideline
Hooks
Filters
Templating
Constants
Frontend Filters
Taxonomy Filters
Frontend filters API
Tips & Miscellaneous
Tutorials
Post Types
Taxonomy Terms
WooCommerce
Compatibility
Other
Other
ASP_Query
Building a custom REST API
Javascript API
Javascript Hooks
asp_redirect_url
asp_search_data
asp_live_load_html
asp_search_html
asp_compact_width
Changelog
Powered By
GitBook
asp_live_load_html
The HTML code, which is returned by the
results page live loader feature
.
1
WPD
.
Hooks
.
applyFilters
(
'asp_live_load_html'
,
html
,
searchId
,
searchInstanceId
);
Copied!
Example
1
WPD
.
Hooks
.
addFilter
(
'asp_live_load_html'
,
'asp'
,
function
(
html
){
2
return
html
.
replace
(
3
"string"
,
4
"string_to_replace_with"
5
));
6
},
10
);
Copied!
Previous
asp_search_data
Next
asp_search_html
Last modified
15d ago
Copy link
Contents