Created
January 29, 2016 17:43
-
-
Save netmagik/d9618ec3b8f13aab68a7 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
// Add Async to JS deferred by Autoptimize plugin | |
add_filter('autoptimize_filter_js_defer','my_ao_override_defer',10,1); | |
function my_ao_override_defer($defer) { | |
return $defer."async "; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Can you please update this?