There is no action called wp_enqueue_script
, it’s wp_enqueue_scripts
, plural, and both scripts and styles should be enqueued on that action.
There is no action called wp_enqueue_script
, it’s wp_enqueue_scripts
, plural, and both scripts and styles should be enqueued on that action.