Turn off jQuery by filter [pull request]
-
Hello, Is possible that you include apply_filters method because of removing jQuery library? I know there is
apply_filters( 'wpcf7_load_js', WPCF7_LOAD_JS );
But when I return false, then the contact form doesnt work. I need to only prevent jQuery and keep there contact-form-7 script. It would be great if possible. Now I have to hack it and comment out the
wp_deregister_script( 'jquery-form' ); wp_register_script( 'jquery-form', wpcf7_plugin_url( 'includes/js/jquery.form.min.js' ), array( 'jquery' ), '3.51.0-2014.06.20', true );
By that hack I can not upgrade to new version…
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Turn off jQuery by filter [pull request]’ is closed to new replies.