這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

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' );

安裝

  1. Install and activate the plugin
  2. Revalidate your Contact Form 7 forms.

評價

There are no reviews for this plugin.

貢獻者及開發者

“CF7 Mailgun Domain Validation” 是一個開源的軟體。以下的人對這個外掛作出了貢獻。

貢獻者

將 CF7 Mailgun Domain Validation 外掛本地化為台灣繁體中文版。

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

修改日誌

1.0.2

  • Fix domain filter typo.

1.0.1

  • Get Mailgun domain from Mailgun plugin options if available.

1.0.0

  • First stable version