Hello,
My plugin was reject, and i think i know why…
jQuery won’t to be loaded when un call him with this code :
function frontEndScript( $hook ){
wp_enqueue_script('jquery');
}
add_action(‘wp_enqueue_scripts’, ‘frontEndScript’ );
When my page loaded i got this error : “Uncaught ReferenceError: jQuery is not defined”
What’s wrong ?
I read somewhere wordpress autoload jQuery, but if i remove my code error still here.
Thanks for your help,
Best regards.