K
K
Knowledge Base - Ajax Search Pro for WordPress
Buy Ajax Search Pro!
Documentation
Get Support
Search
⌃K
Links
Knowledge Base
Safe Coding Guideline
Hooks
Filters
Query & Output
Keyword Suggestions
Search Results
CSS & JS
asp_load_js
asp_load_css
asp_load_css_js
Index Table Related
Templating
Constants
Frontend Filters
Taxonomy Filters
Frontend filters API
Tips & Miscellaneous
Tutorials
Post Types
Taxonomy Terms
WooCommerce
Compatibility
Other
Other
ASP_Query
REST API
Building a custom REST API
Javascript API
Javascript Hooks
Theme Functions
Powered By
GitBook
asp_load_css
Hook to prevent the plugin stylesheet (CSS) files loading
apply_filters
(
'asp_load_css'
,
$stop
);
Parameters
$stop
- when true, the CSS files are not loaded
add_filter
(
'asp_load_css'
,
'asp_stop_load_css'
,
10
,
1
);
function
asp_stop_load_css
(
$stop
)
{
if
(
is_archive
()
)
return
true
;
return
false
;
}
Previous
asp_load_js
Next
asp_load_css_js
Last modified
2yr ago