Need to wrap script enqueue in the enqueue hook
-
warning given because the wp_enqueue_script() is not in the add_action( ‘wp_enqueue_scripts’, ‘some_function_name’ ); hook.
easy to fix, and less clutter for the debug log.
The topic ‘Need to wrap script enqueue in the enqueue hook’ is closed to new replies.