How can I properly enqueue wp-hooks without issues?

Question

I want to provide the package wordpress user/hooks which currently resides in the core at wp-includes/js/hooks.js but I’m having a hard time finding exactly how / where it is enqueued so that I can copy this file, provide it with my plugin and if it’s not already enqueued, enqueue it on my own.

How can I achieve this?

0
Daniel M 2 years 2020-01-03T08:38:59-05:00 0 Answers 77 views 0

Leave an answer

Browse
Browse