Use wp_enqueue_scripts
-
Hi,
So theme developers can remove the placeholder JS on the pages they don’t need it, you should consider hooking your JS function onto wp_enqueue_scripts instead of wp_print_scripts.
Cheers.
https://www.ads-software.com/extend/plugins/gravity-forms-placeholders/
- The topic ‘Use wp_enqueue_scripts’ is closed to new replies.