I'm looking to insert a string of JavaScript variables AFTER the in_footer enqueued scripts. When I write the string via the wp_footer hook, they occur before the in_footer scripts. Is there another hook I can tie into that happens after those enqueued scripts have been written.
Tell me more
×
WordPress Answers is a question and answer site for
WordPress developers and administrators. It's 100% free, no registration required.
|
|
If you change the priority on the hook to |
|||
|
|
|
There's also the Another option would be to hook with a priority as high as possible for e.g. 9999 into the hook (priority is the 3rd arg). |
|||
|
|