• wp_enqueue_script(“jquery”);

    I am using this to includes js file,But it is not working……

    add_action(‘admin_enqueue_scripts’, ‘my_scripts_method’);
    function my_scripts_method() {
    wp_enqueue_script(‘jquery’);
    }

    Error like :: Error: jQuery is not defined

    Any idea..

  • The topic ‘wp_enqueue_script("jquery"); not working’ is closed to new replies.