[WordPress] 外掛分享: Email verification on signups

首頁外掛目錄 › Email verification on signups
⚠ 此外掛已下架 — 不再更新維護,建議勿安裝。
200+
安裝啟用
★★★★★
5/5 分(4 則評價)
3034 天前
最後更新
0%
問題解決
WordPress 4+ PHP 5.6+ v1.1.2 上架:2017-10-22

內容簡介

WordPress 上的郵件驗證外掛

此外掛會寄送驗證郵件給新註冊的 WordPress 使用者,並要求他們驗證其電子郵件地址。

新增自定義的本地化郵件模板

郵件模板位於tpl/emails目錄下,驗證郵件的檔案名稱為verify.php,這是預設的英文模板。
不過,您可以透過複製verify.php並將其重新命名為verify-LOCALE_CODE.php的方式,新增自己的語言特定模板檔案。

例如,對於葡萄牙語(巴西),您可以新增一個名為verify-pt_BR.php的檔案,您可以使用get_locale()來獲取您的 WordPress 安裝區域設定代碼。

此外,可使用dw_verify_email_template_path和dw_verify_email_template_args篩選器進行修改,如果您想要從主題的functions.php進行修改。

包含第三方腳本

使用WP_MAIL發送模板郵件。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.1.2) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Email verification on signups」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Send Email verification links on WordPress
This plugin sends verification emails to newly registered wordpress users and asks them to verify their email address.
Adding your own localized email templates
The email templates are located under tpl/emails directory, and the file for verification email is called verify.php which is the default template for english language
however you can add your own language-specific template file by duplicating verify.php and renaming it to verify-LOCALE_CODE.php
for example for Portuguese ( Brazil ) you can add a file named verify-pt_BR.php ( you can get your wordpress installation locale code with get_locale() )
There are also dw_verify_email_template_path and dw_verify_email_template_args filters available if you want to make modifications from your theme\’s functions.php
3rd-party scripts included
WP_MAIL ( for sending templated emails )

延伸相關外掛

文章
Filter
Apply Filters
Mastodon