asp_load_css
Hook to prevent the plugin stylesheet (CSS) files loading
1
apply_filters('asp_load_css', $stop);
Copied!

Parameters

  • $stop - when true, the CSS files are not loaded
1
add_filter( 'asp_load_css', 'asp_stop_load_css', 10, 1 );
2
function asp_stop_load_css( $stop ) {
3
if ( is_archive() )
4
return true;
5
return false;
6
}
Copied!
Last modified 1yr ago
Copy link
Contents
Parameters