Title: inline scripts
Last modified: March 20, 2023

---

# inline scripts

 *  [vinegar](https://wordpress.org/support/users/vinegar/)
 * (@vinegar)
 * [3 years, 2 months ago](https://wordpress.org/support/topic/inline-scripts/)
 * Could this plugin use wp_add_inline_script instead of directly printing its inline
   script tags?
 * Directly printing inline script makes it difficult or impossible to handle nonce/
   hashing to comply with a CSP.
    -  This topic was modified 3 years, 2 months ago by [vinegar](https://wordpress.org/support/users/vinegar/).

The topic ‘inline scripts’ is closed to new replies.

 * ![](https://ps.w.org/duracelltomi-google-tag-manager/assets/icon-256x256.png?
   rev=1708451)
 * [GTM4WP - A Google Tag Manager (GTM) plugin for WordPress](https://wordpress.org/plugins/duracelltomi-google-tag-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/duracelltomi-google-tag-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/duracelltomi-google-tag-manager/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [vinegar](https://wordpress.org/support/users/vinegar/)
 * Last activity: [3 years, 2 months ago](https://wordpress.org/support/topic/inline-scripts/)
 * Status: not resolved