Open ns-rx opened 3 months ago
Consider calling `wp_register_script` on the `init` hook, and then calling enqueue only when you need it. That way, it gives a chance for other plugins / customisations to update / unregister the script as needed.
_Originally posted by @GaryJones in https://github.com/ns-rx/poetwp/pull/13#discussion_r1730399912_
Also https://github.com/ns-rx/poetwp/pull/13#discussion_r1730399870
_Originally posted by @GaryJones in https://github.com/ns-rx/poetwp/pull/13#discussion_r1730399912_