Exclude files from CSS minify
Although FlyingPress is compatible with 99.99% of CSS files, it doesn't provide a UI option for excluding them from minification.
However, you can still manually exclude specific CSS files if needed using the filter flying_press_exclude_from_minify:css:
However, you can still manually exclude specific CSS files if needed using the filter flying_press_exclude_from_minify:css:
add_filter('flying_press_exclude_from_minify:css', function ($exclude_keywords) {
$exclude_keywords = ['my-theme'];
return $exclude_keywords;
});
Updated on: 18/12/2023
Thank you!