Title: Exclude inline Js
Last modified: January 31, 2022

---

# Exclude inline Js

 *  Resolved [davidki](https://wordpress.org/support/users/davidki/)
 * (@davidki)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/exclude-inline-js-2/)
 * Hello Emre,
 * I use your PRO version of Fastest cache.
 * I found your article [https://www.wpfastestcache.com/premium/render-blocking-js/](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](https://make.wordpress.org/core/2021/02/23/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)

 *  Plugin Author [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * (@emrevona)
 * [4 years, 4 months ago](https://wordpress.org/support/topic/exclude-inline-js-2/#post-15314118)
 * To create threads about the premium version on wordpress.org forum is forbidden
   so please contact us via email about the problem which is related to the premium
   version.
 * [https://www.wpfastestcache.com/contact-us/](https://www.wpfastestcache.com/contact-us/)

Viewing 1 replies (of 1 total)

The topic ‘Exclude inline Js’ is closed to new replies.

 * ![](https://ps.w.org/wp-fastest-cache/assets/icon-256x256.png?rev=2064586)
 * [WP Fastest Cache - WordPress Cache Plugin](https://wordpress.org/plugins/wp-fastest-cache/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-fastest-cache/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-fastest-cache/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-fastest-cache/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-fastest-cache/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-fastest-cache/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Emre Vona](https://wordpress.org/support/users/emrevona/)
 * Last activity: [4 years, 4 months ago](https://wordpress.org/support/topic/exclude-inline-js-2/#post-15314118)
 * Status: resolved