admin管理员组文章数量:1336346
I need to change the default text of the email which is sent when i change a subscribers email. The text:
Hi XYZ,
This notice confirms that your email address on CHL Club Hub was changed to [email protected].
If you did not change your email, please contact the Site Administrator at
[email protected]
This email has been sent to [email protected]
Regards,
All at PageName
I also would like to change the password change mail. Is there a documentation about this?
I need to change the default text of the email which is sent when i change a subscribers email. The text:
Hi XYZ,
This notice confirms that your email address on CHL Club Hub was changed to [email protected].
If you did not change your email, please contact the Site Administrator at
[email protected]
This email has been sent to [email protected]
Regards,
All at PageName
https://www.example
I also would like to change the password change mail. Is there a documentation about this?
Share Improve this question asked Jul 15, 2020 at 17:27 public9nfpublic9nf 3961 gold badge9 silver badges20 bronze badges1 Answer
Reset to default 1To filter the content of the email sent when a user's email is changed you want the email_change_email
filter. Docs at https://developer.wordpress/reference/hooks/email_change_email/
Password change email is filtered by password_change_email
, docs at https://developer.wordpress/reference/hooks/password_change_email/
You'll be able to search to find examples of how to use these. You'll need to add code to your functions.php or to a plugin to use them.
I found these by going to the Wordpress Code Reference here: https://developer.wordpress/reference/ and searching for 'email' and selecting only Hooks.
本文标签: Change email address change notice from WordPress
版权声明:本文标题:Change email address change notice from WordPress 内容由网友自发贡献,该文观点仅代表作者本人, 转载请联系作者并注明出处:http://www.betaflare.com/web/1742259378a2442225.html, 本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容,一经查实,本站将立刻删除。
发表评论