title: WordPress: How can I disable Gravity Forms inclusion of jQuery?
body: <p>I am including jQuery already on my website, but when using some conditional logic with Gravity Forms, it includes jQuery again, as well as its own scripts of course.</p>
  
  <p>Output looks like:</p>
  
  <pre><code>&lt;script type='text/javascript' src='//localhost:8080/wp-includes/js/jquery/jquery.js?ver=1.11.3'&gt;&lt;/script&gt;
  &lt;script type='text/javascript' src='//localhost:8080/wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'&gt;&lt;/script&gt;
  &lt;script type='text/javascript' src='//localhost:8080/wp-content/plugins/gravityforms/js/jquery.json.js?ver=1.9.14'&gt;&lt;/script&gt;
  &lt;script type='text/javascript' src='//localhost:8080/wp-content/plugins/gravityforms/js/gravityforms.min.js?ver=1.9.14'&gt;&lt;/script&gt;
  &lt;script type='text/javascript' src='//localhost:8080/wp-content/plugins/gravityforms/js/conditional_logic.min.js?ver=1.9.14'&gt;&lt;/script&gt;
  </code></pre>
  
  <p>What I would like to do is to keep the Gravity Form's scripts, but exclude their inclusion of <strong>jQuery</strong> and <strong>jQuery migrate</strong>. I include these myself and do not want GF to do this for me.</p>
  
  <p>I have searched for the handle that includes these scripts, but cannot find the correct hook. I had the following, but it also excluded the GF scripts, which is obviously not what I want to happen:</p>
  
  <pre><code>function remove_unwanted_assets() {
  
      // Gravity Forms plugin.
      wp_deregister_script('jquery');
  
  }
  
  add_action('wp_enqueue_scripts', 'remove_unwanted_assets', 100);
  </code></pre>
  
  <p>This seems to exclude everything from GF.</p>
  
  <p>Any help or guidance is much appreciated. Thanks.</p>