Contact Form 7 5.8

Contact Form 7 version 5.8 is now available. This major update includes several significant changes. Upgrading the plugin to 5.8 is recommended to all users.

Requires PHP 7.4+

As announced previously, the new support policy for old WordPress/PHP versions has been introduced. Based on this policy, Contact Form 7 5.8 requires PHP 7.4 or greater to work.

SWV 1.2.0

The bundled Schema-Woven Validation (SWV) package has been updated to 1.2.0. SWV 1.2.0 additionally supports dayofweek and time rule types.

Hash-based contact form identification

In order to improve portability of blocks and shortcodes used to embed contact forms, Contact Form 7 5.8 introduces a new form identification mechanism based on SHA-1 hash. The previously used post-ID-based identification will continue to work, so you don’t have to replace old blocks and shortcodes.

Requires: WordPress 6.2 or higher
Tested up to: WordPress 6.3-RC3

» Download Contact Form 7 plugin from

Major changes

  • Requires WordPress 6.2+ and PHP 7.4+.
  • SWV: Updates the version to 1.2.0 (Contact Form 7 SWV Schema 2023-07).
  • SWV: Newly supports the dayofweek and time rule types.
  • Introduces SHA-1 hash-based contact form identification.
  • Ignores the id attribute if the same ID has been used for another element.
  • Stripe: Updates the API version to 2022-11-15.
  • New filter hook: wpcf7_mail_html_body
  • New filter hook: wpcf7_config_validator_available_error_codes
  • New filter hook: wpcf7_form_additional_atts

You can browse the full list of changes on GitHub.