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.
http://ww.wp.xz.cn/extend/plugins/gravity-forms-placeholders/
The topic ‘Use wp_enqueue_scripts’ is closed to new replies.