Contact Form 7
Deregister script? (2 posts)

  1. MickeyRoush
    Posted 4 years ago #

    With the latest update and usage of the more up to date jquery.form.js I can no longer deregister the script like I had it before.

    I noticed this:

    function wpcf7_enqueue_scripts() {
    	// jquery.form.js originally bundled with WordPress is out of date and deprecated
    	// so we need to deregister it and re-register the latest one
    	wp_deregister_script( 'jquery-form' );
    	wp_register_script( 'jquery-form', wpcf7_plugin_url( 'jquery.form.js' ),
    		array( 'jquery' ), '3.08', true );

    If anyone has any ideas it would be greatly appreciated as I only need this script running on the contact page. Thanks.


  2. MickeyRoush
    Posted 4 years ago #

    Ok, it seems like I can still do it on several of my other sites. Just having issues with a new install. If anyone has any ideas, I'm still open for suggestions.


Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Contact Form 7
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic