Exclude inline Js
-
Hello Emre,
I use your PRO version of Fastest cache.
I found your article https://www.wpfastestcache.com/premium/render-blocking-js/
according to which it is probably possible to exclude also inline javascript.
I am trying to add attribute data-wpfc-render=”false” to javascript which was addying by wp_localize_script().
I found some new functions which can probably add attributes also for inline script.
Introducing script attributes related functions in WordPress 5.7
But I can’t add an attribute to script which was addying by wp_localize_script(). I can’t figure out how to do it.
Please, can you advice, how to add data-wpfc-render=”false” to such script?
Thank you.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
- The topic ‘Exclude inline Js’ is closed to new replies.