How can I check if jquery is included?
-
How can I check if jquery is included?
I have this in plugin:function form_ajax_add_theme_codes() { wp_enqueue_script( 'example-ajax-script', plugins_url( 'js/simple-ajax-example.js', __FILE__ ), array('jquery'), null, true ); } add_action('wp_enqueue_scripts', 'form_ajax_add_theme_codes');
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘How can I check if jquery is included?’ is closed to new replies.