Created
June 12, 2017 09:14
-
-
Save markonikolic985/cc5676c1c91e7ba0d91f63993ed30fee to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function wp_rocket_activate_inline_js_minify( $html_options ) { | |
$html_options['jsMinifier'] = 'rocket_minify_inline_js'; | |
return $html_options; | |
} | |
add_filter( 'rocket_minify_html_options', 'wp_rocket_activate_inline_js_minify' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment