nonce parameter in enqueued js-tag for CSP
-
Hey, I’m wondering how i could provide a nonce in a
<script>
– Tag.Basically i’m enqueuing the api.js for Google reCaptcha with wp_enqueue_script but for the CSP on my server i need something like
<script nonce="blablabla">
. How can i acomplish that with wp_enqueue_script?Thanks in advance!
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘nonce parameter in enqueued js-tag for CSP’ is closed to new replies.