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

---

Søg plugins

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

Dette plugin **er ikke blevet testet med de seneste 3 større udgivelser af WordPress**.
Det vedligeholdes eller understøttes muligvis ikke længere og kan have kompatibilitetsproblemer,
når det bruges med nyere versioner af WordPress.

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

# Contact Form 7: Support Deprecated Settings

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

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

 * [Detaljer](https://da.wordpress.org/plugins/cf7-support-deprecated-settings/#description)
 * [Vurderinger](https://da.wordpress.org/plugins/cf7-support-deprecated-settings/#reviews)
 *  [Installation](https://da.wordpress.org/plugins/cf7-support-deprecated-settings/#installation)
 * [Udvikling](https://da.wordpress.org/plugins/cf7-support-deprecated-settings/#developers)

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

## Beskrivelse

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.

## Anmeldelser

![](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/) 20. august, 2020

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

 [ Læs 1 anmeldelse ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/)

## Bidragsydere & udviklere

“Contact Form 7: Support Deprecated Settings” er open source-software. Følgende 
personer har bidraget til dette plugin.

Bidragsydere

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

[Oversæt “Contact Form 7: Support Deprecated Settings” til dit eget sprog.](https://translate.wordpress.org/projects/wp-plugins/cf7-support-deprecated-settings)

### Interesseret i udvikling?

[Gennemse koden](https://plugins.trac.wordpress.org/browser/cf7-support-deprecated-settings/),
tjek [SVN repository](https://plugins.svn.wordpress.org/cf7-support-deprecated-settings/),
eller abonner på [udviklerloggen](https://plugins.trac.wordpress.org/log/cf7-support-deprecated-settings/)
via [RSS](https://plugins.trac.wordpress.org/log/cf7-support-deprecated-settings/?limit=100&mode=stop_on_copy&format=rss).

## Ændringslog

#### 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**
 *  Senest opdateret **8 år siden**
 *  Aktive installationer **10+**
 *  WordPress-version ** 4.0 eller højere **
 *  Testet op til **4.9.29**
 *  PHP-version ** 5.3 eller højere **
 *  Sprog
 * [English (US)](https://wordpress.org/plugins/cf7-support-deprecated-settings/)
 * Tags
 * [contact](https://da.wordpress.org/plugins/tags/contact/)[contact form](https://da.wordpress.org/plugins/tags/contact-form/)
   [email](https://da.wordpress.org/plugins/tags/email/)[form](https://da.wordpress.org/plugins/tags/form/)
   [javascript](https://da.wordpress.org/plugins/tags/javascript/)
 *  [Avanceret visning](https://da.wordpress.org/plugins/cf7-support-deprecated-settings/advanced/)

## Bedømmelser

 5 ud af 5 stjerner.

 *  [  1 5-stjernet anmeldelse     ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/?filter=5)
 *  [  0 4-stjernet anmeldelser     ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/?filter=4)
 *  [  0 3-stjernet anmeldelser     ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/?filter=3)
 *  [  0 2-stjernet anmeldelser     ](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/?filter=2)
 *  [  0 1-stjernet anmeldelser     ](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)

[Se alle anmeldelser.](https://wordpress.org/support/plugin/cf7-support-deprecated-settings/reviews/)

## Bidragsydere

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

## Support

Har du noget at sige? Har du brug for hjælp?

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