In my site's functions.php
script is like
add( 'scripts', '//ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js' );
which shows on source code like
<script src="...jquery.min.js"></script>
want to add 'defer' to code like
<script src="...jquery.min.js" defer></script>
Please anyone guide me to achieve this?
My Answer:
Rate this post
3 of 5 based on 4518 votesComments