Error in wp_enqueue_script on frontend
-
Hello!
I have received an error on my site due to the error in wp_enqueue_script function usage.
The code below works for me:
`
wp_enqueue_script(
‘mip-script’,
plugin_dir_url( __FILE__ ) . ‘prettyphoto/jquery.prettyPhoto.js’,
array( ‘jquery’ )
);
`
Coould you please check it and fix in the plugin ?
- The topic ‘Error in wp_enqueue_script on frontend’ is closed to new replies.