Tag Info

New answers tagged


You do not show how you hook your wp_enqueue_script() call. But the error message you get is pretty clear, use one of the following hooks: wp_enqueue_scripts admin_enqueue_scripts login_enqueue_scripts depending on the use case - see the notes at the wp_enqueue_script() codex page for additional information. For example do for correctly ...

Top 50 recent answers are included