• Resolved pvde

    (@pvde)


    Hi,

    this is the code I use:

    function admin_head_js()
    {
    wp_enqueue_script(‘custom_script’, ‘/wp-content/plugins/’ . basename(dirname(__FILE__)) .’/js/custom’, array(‘jquery’));
    }

    add_action(‘admin_init’, “admin_head_js”);

    But I only want this Js to load in just a specific plugin page. Lets say test/test.php.
    How can I do that?

  • The topic ‘Load JQUERY in only a specific plugin page’ is closed to new replies.