plugin-icon

CF7 Mailgun Domain Validation

作者:macbookandrew·
Allows email addresses using your site’s Mailgun domain to pass Contact Form 7’s form validation feature.
版本
1.0.2
活跃安装
10
最后更新
Mar 9, 2021
CF7 Mailgun Domain Validation

Do you use Mailgun to deliver emails from your WordPress site? Does it annoy you that email addresses using the Mailgun domain causes Contact Form 7 validation to fail?

This plugin allows email addresses using your site’s Mailgun domain to pass Contact Form 7’s form validation feature.

It also includes the cf7_mailgun_domain filter you can use to modify the default mailgun domain. Example:

/** * Filter the Mailgun domain. * * @param string $domain Your mailgun domain; defaults to the domain set in the Mailgun plugin settings, or 'mg.your-site.com' if that is not set. * * @return string Your mailgun domain. */ function my_custom_mailgun_domain( $domain ) { $domain = 'mg.my-site.com'; // Replace this with your Mailgun domain. return $domain; } add_filter( 'cf7_mailgun_domain', 'my_custom_mailgun_domain' );
免费使用Business套餐
通过安装,您同意 WordPress.com 服务条款第三方插件条款
目前已测试版本
WordPress 5.7.0
这个插件是可用的下载,适用于您的站点。