Contact Form 7 5.0 is now available. With growing awareness of personal data protection, we are working on improvements that will allow you to make contact forms more privacy-friendly. Some of these changes are included in 5.0. Also, with newly introduced filter hooks and special mail tag types, customizability of mail has been significantly improved.
Acceptance checkbox is one of the form-tag types that Contact Form 7 has long provided. It consists of a simple checkbox dedicated to confirming the submitter’s consent on a given condition.
We decided to redefine this feature because it was no longer adequate to meeting increasing requirements. Obtaining explicit consent in advance of collecting personal data is now considered essential in terms of protecting privacy rights. Therefore, it is important to record who has consented to what conditions if there is a possibility of reusing the personal data.
With the new acceptance checkbox, you can specify a condition to consent to in the content part of the form-tag, and if the submitter consents to it, the fact will be recorded in a mail message, or in the database (Flamingo).
The additional settings
on_submit have been officially removed from this release. The reason behind this decision and the better alternative now offered were explained in this announcement post.
Requires: WordPress 4.8 or higher
Tested up to: WordPress 4.9.2
- Additional settings:
on_submithave been removed.
- New additional setting:
- Flamingo: Inbound channel title changes in conjunction with a change in the title of the corresponding contact form.
- DOM events: Make an entire API response object accessible through the
- HTML mail: Adds language-related attributes to the HTML header.
- File upload: Sets the
acceptattribute to an uploading field.
- Introduces the WPCF7_MailTag class.
- Allows aborting a mail-sending attempt using the
wpcf7_before_send_mailaction hook. Also, you can set a custom status and a message through the action hook.
- Acceptance checkbox: Allows the specifying of a statement of conditions in the form-tag’s content part.
- Acceptance checkbox: Supports the
- New special mail tags:
- New filter hooks:
- New form-tag features: