Can't get do_not_defer to work
-
I can’t get the do_not_defer filter hook to work.
I added this to my child functions file, as you recommend:
function scripts_to_not_defer(){ return array('jquery','jquery.flexslider-min.js?v=1.0'); } add_filter('do_not_defer','scripts_to_not_defer');
I’ve tried it with the script’s full url, with and without the version number, etc, but it still gets deferred.
Any ideas how I could get it to work?
https://www.ads-software.com/plugins/wp-deferred-javascripts/
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Can't get do_not_defer to work’ is closed to new replies.