Title: Contact Form 7: Support Deprecated Settings
Author: Dave McHale
Published: <strong>Kevardhu 14, 2017</strong>
Last modified: Hwevrer 2, 2018

---

Search plugins

![](https://ps.w.org/cf7-support-deprecated-settings/assets/banner-772x250.png?rev
=1787086)

This plugin **hasn’t been tested with the latest 3 major releases of WordPress**.
It may no longer be maintained or supported and may have compatibility issues when
used with more recent versions of WordPress.

![](https://ps.w.org/cf7-support-deprecated-settings/assets/icon-256x256.png?rev
=1787086)

# Contact Form 7: Support Deprecated Settings

 By [Dave McHale](https://profiles.wordpress.org/dmchale/)

[Download](https://downloads.wordpress.org/plugin/cf7-support-deprecated-settings.0.4.zip)

 * [Details](https://cor.wordpress.org/plugins/cf7-support-deprecated-settings/#description)
 * [Reviews](https://cor.wordpress.org/plugins/cf7-support-deprecated-settings/#reviews)
 *  [Installation](https://cor.wordpress.org/plugins/cf7-support-deprecated-settings/#installation)
 * [Development](https://cor.wordpress.org/plugins/cf7-support-deprecated-settings/#developers)

 [Support](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/)

## Description

Contact Form 7 no longer supports the `on_sent_ok` and `on_submit` settings available
on the Additional Settings screen as of version 5.0 of CF7. Both settings were deprecated
before this release, which was why this plugin was first created. [https://contactform7.com/additional-settings/](https://contactform7.com/additional-settings/)

This plugin is meant to be a band-aid to quickly get your Additional Settings working.
It reads the Additional Settings data and adds a javascript block when the form 
is output on the page, using DOM Events as suggested by the CF7 author. [https://contactform7.com/dom-events/](https://contactform7.com/dom-events/)

## Installation

 1. Upload the `cf7-support-deprecated-settings` directory to the `/wp-content/plugins/`
    directory via FTP
 2. Alternatively, upload the `cf7-support-deprecated-settings_v#.#.zip` file to the‘
    Plugins->Add New’ page in your WordPress admin area
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

## FAQ

  Installation Instructions

 1. Upload the `cf7-support-deprecated-settings` directory to the `/wp-content/plugins/`
    directory via FTP
 2. Alternatively, upload the `cf7-support-deprecated-settings_v#.#.zip` file to the‘
    Plugins->Add New’ page in your WordPress admin area
 3. Activate the plugin through the ‘Plugins’ menu in WordPress

  Can I install this plugin even if my version of CF7 currently supports these two
settings?

Yes! This plugin does two things – it adds the new javascript to the page where 
your forms are displayed, and disables the “old” way that CF7 handled these settings.
By installing & activating this plugin you stop relying on Contact Form 7 to process
your `on_sent_ok` and `on_submit` events, so this plugin should work seamlessly 
with any modern version of CF7 whether it natively supports these settings or not.

## Reviews

![](https://secure.gravatar.com/avatar/57da1c025ded6c9755d62b36cd8321fa6bdf0075bb908dc9bda2f75052845a78?
s=60&d=retro&r=g)

### 󠀁[Required update](https://wordpress.org/support/topic/required-update/)󠁿

 [Muhammed Rias A](https://profiles.wordpress.org/riasnelli/) Est 20, 2020

Any possibility to get a version update for WP 5.5? Many Thanks.

 [ Read all 1 review ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/)

## Contributors & Developers

“Contact Form 7: Support Deprecated Settings” is open source software. The following
people have contributed to this plugin.

Contributors

 *   [ Dave McHale ](https://profiles.wordpress.org/dmchale/)

[Translate “Contact Form 7: Support Deprecated Settings” into your language.](https://translate.wordpress.org/projects/wp-plugins/cf7-support-deprecated-settings)

### Interested in development?

[Browse the code](https://plugins.trac.wordpress.org/browser/cf7-support-deprecated-settings/),
check out the [SVN repository](https://plugins.svn.wordpress.org/cf7-support-deprecated-settings/),
or subscribe to the [development log](https://plugins.trac.wordpress.org/log/cf7-support-deprecated-settings/)
by [RSS](https://plugins.trac.wordpress.org/log/cf7-support-deprecated-settings/?limit=100&mode=stop_on_copy&format=rss).

## Changelog

#### 0.4

 * Update to prevent PHP warning/notices on action/filters
 * Tested with Contact Form 7 v5.0

#### 0.3

 * Initial release to the wordpress.org repository

## Meta

 *  Version **0.4**
 *  Last updated **8 years ago**
 *  Active installations **10+**
 *  WordPress version ** 4.0 or higher **
 *  Tested up to **4.9.29**
 *  PHP version ** 5.3 or higher **
 *  Language
 * [English (US)](https://wordpress.org/plugins/cf7-support-deprecated-settings/)
 * Tags
 * [contact](https://cor.wordpress.org/plugins/tags/contact/)[contact form](https://cor.wordpress.org/plugins/tags/contact-form/)
   [email](https://cor.wordpress.org/plugins/tags/email/)[form](https://cor.wordpress.org/plugins/tags/form/)
   [javascript](https://cor.wordpress.org/plugins/tags/javascript/)
 *  [Advanced View](https://cor.wordpress.org/plugins/cf7-support-deprecated-settings/advanced/)

## Ratings

 5 out of 5 stars.

 *  [  1 5-star review     ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/?filter=5)
 *  [  0 4-star reviews     ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/?filter=4)
 *  [  0 3-star reviews     ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/?filter=3)
 *  [  0 2-star reviews     ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/?filter=2)
 *  [  0 1-star reviews     ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/#new-post)

[See all reviews](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/)

## Contributors

 *   [ Dave McHale ](https://profiles.wordpress.org/dmchale/)

## Support

Got something to say? Need help?

 [View support forum](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/)