How Am I supposed to add dynamic JS depending on jQuery?
-
My script needs to run AFTER jQuery is enqueued, but print_scripts runs BEFORE jQuery is loaded.
I can’t put it in a file, since it’s calculated by other parts of the theme/plugins.
…or is there another action that runs after “print_scripts” I can hook it to?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘How Am I supposed to add dynamic JS depending on jQuery?’ is closed to new replies.