Hook to prevent the plugin stylesheet (CSS) files loading
Last updated 4 years ago
$stop - when true, the CSS files are not loaded
apply_filters('asp_load_css', $stop);
add_filter( 'asp_load_css', 'asp_stop_load_css', 10, 1 ); function asp_stop_load_css( $stop ) { if ( is_archive() ) return true; return false; }