{"id":78979,"date":"2017-12-14T15:06:15","date_gmt":"2017-12-14T15:06:15","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/contact-form-7-support-deprecated-settings\/"},"modified":"2018-02-02T21:38:20","modified_gmt":"2018-02-02T21:38:20","slug":"cf7-support-deprecated-settings","status":"publish","type":"plugin","link":"https:\/\/wol.wordpress.org\/plugins\/cf7-support-deprecated-settings\/","author":430697,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"0.4","stable_tag":"0.4","tested":"4.9.29","requires":"4.0","requires_php":"5.3","requires_plugins":"","header_name":"Contact Form 7: Support Deprecated Settings","header_author":"Dave McHale","header_description":"Provide continued support for `on_sent_ok` and `on_submit` within Contact Form 7's Additional Settings","assets_banners_color":"1f421a","last_updated":"2018-02-02 21:38:20","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/dmchale\/cf7-support-deprecated-settings","header_author_uri":"http:\/\/www.binarytemplar.com","rating":5,"author_block_rating":0,"active_installs":10,"downloads":1576,"num_ratings":1,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"1"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"1787086","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"1787086","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-1544x500.png":{"filename":"banner-1544x500.png","revision":"1787086","resolution":"1544x500","location":"assets"},"banner-772x250.png":{"filename":"banner-772x250.png","revision":"1787086","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.3","0.4"],"block_files":[],"assets_screenshots":[],"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[360,358,267,361,229],"plugin_category":[41,42,59],"plugin_contributors":[82581],"plugin_business_model":[],"class_list":["post-78979","plugin","type-plugin","status-publish","hentry","plugin_tags-contact","plugin_tags-contact-form","plugin_tags-email","plugin_tags-form","plugin_tags-javascript","plugin_category-communication","plugin_category-contact-forms","plugin_category-utilities-and-tools","plugin_contributors-dmchale","plugin_committers-dmchale"],"banners":{"banner":"https:\/\/ps.w.org\/cf7-support-deprecated-settings\/assets\/banner-772x250.png?rev=1787086","banner_2x":"https:\/\/ps.w.org\/cf7-support-deprecated-settings\/assets\/banner-1544x500.png?rev=1787086","banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/cf7-support-deprecated-settings\/assets\/icon-128x128.png?rev=1787086","icon_2x":"https:\/\/ps.w.org\/cf7-support-deprecated-settings\/assets\/icon-256x256.png?rev=1787086","generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Contact Form 7 no longer supports the <code>on_sent_ok<\/code> and <code>on_submit<\/code> 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. <a href=\"https:\/\/contactform7.com\/additional-settings\/\">https:\/\/contactform7.com\/additional-settings\/<\/a><\/p>\n\n<p>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. <a href=\"https:\/\/contactform7.com\/dom-events\/\">https:\/\/contactform7.com\/dom-events\/<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload the <code>cf7-support-deprecated-settings<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory via FTP<\/li>\n<li>Alternatively, upload the <code>cf7-support-deprecated-settings_v#.#.zip<\/code> file to the 'Plugins-&gt;Add New' page in your WordPress admin area<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Installation Instructions<\/dt>\n<dd><ol>\n<li>Upload the <code>cf7-support-deprecated-settings<\/code> directory to the <code>\/wp-content\/plugins\/<\/code> directory via FTP<\/li>\n<li>Alternatively, upload the <code>cf7-support-deprecated-settings_v#.#.zip<\/code> file to the 'Plugins-&gt;Add New' page in your WordPress admin area<\/li>\n<li>Activate the plugin through the 'Plugins' menu in WordPress<\/li>\n<\/ol><\/dd>\n<dt>Can I install this plugin even if my version of CF7 currently supports these two settings?<\/dt>\n<dd><p>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 &amp; activating this plugin you stop relying on Contact Form 7 to process your <code>on_sent_ok<\/code> and <code>on_submit<\/code> events, so this plugin should work seamlessly with any modern version of CF7 whether it natively supports these settings or not.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.4<\/h4>\n\n<ul>\n<li>Update to prevent PHP warning\/notices on action\/filters<\/li>\n<li>Tested with Contact Form 7 v5.0<\/li>\n<\/ul>\n\n<h4>0.3<\/h4>\n\n<ul>\n<li>Initial release to the wordpress.org repository<\/li>\n<\/ul>","raw_excerpt":"Provide continued support for on_sent_ok and on_submit within Contact Form 7&#039;s Additional Settings","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/78979","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=78979"}],"author":[{"embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/dmchale"}],"wp:attachment":[{"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=78979"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=78979"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=78979"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=78979"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=78979"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wol.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=78979"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}