Wordpress 钩子:new_user_email_content
文章目录
过滤尝试更改用户电子邮件地址时发送的电子邮件的文本。
原型
apply_filters( 'new_user_email_content', string $email_text, array $new_user_email )
描述
以下字符串具有特殊含义,将动态替换:
参数
$email_text
(string)
电子邮件中的文字。
$new_user_email
(array)
与新用户电子邮件地址相关的数据。 ‘hash’(字符串)确认链接URL中使用的安全哈希。 ‘newemail’(字符串)建议的新电子邮件地址。
源文件
路径:``
其他
英文文档:https://developer.wordpress.org/reference/hooks/new_user_email_content/
文章作者 iBllex
上次更新 2019-02-12