deregister / dequeue jquery only
-
Jquery library is part of my build process so I don’t need it added additionally by the Contact Form 7 plugin.
Everything I do to try to remove it also removes the plugin scripts (scripts.js and the inline apiSettings)
eg
wp_deregister_script( ‘jquery’ );
add_filter( ‘wpcf7_load_js’, ‘__return_false’ );I guess I could manually add the scripts.js but how would I go about adding the inline CDATA?
At the moment I can only get the ajax working by the user downloading Jquery twice
- The topic ‘deregister / dequeue jquery only’ is closed to new replies.