Exclude files from JavaScript minify

FlyingPress UI doesn't provide an option to exclude JavaScript files from minify because it's compatible with 99.99% of the files.

However, in any chance you would like to exclude JavaScript files from minifying, you can use the filter " flyingpress_exclude_from_minify:js" like below:

add_filter('flyingpress_exclude_from_minify:js', function($exclude_keywords){
   $exclude_keywords = ['my-theme'];
   return $exclude_keywords;
});
Did this answer your question? Thanks for the feedback There was a problem submitting your feedback. Please try again later.