new_user_email_content WordPress Filter Hook
If you're reading this, then you've successfully registered as a new user on our site! Congratulations! We just wanted to take a moment to welcome you and give you some helpful information about what you can expect as a member of our community. Here are a few things you should know: Our community is built on the principles of respect, collaboration, and support. We expect all members to uphold these values. We have a zero tolerance policy for harassment, abuse, or discrimination of any kind. If you see or experience any of these behaviors, please report them to a moderator immediately. We are here to help you! If you have any questions or need assistance, please don't hesitate to reach out to one of our staff members. We're glad to have you here, and we can't wait to see what you contribute to our community!
apply_filters( 'new_user_email_content', string $email_text , array $new_user_email ) #
Filters the text of the email sent when a change of user email address is attempted.
Contents
Description
The following strings have a special meaning and will get replaced dynamically:
Parameters
- $email_text
(string)Text in the email.
- $new_user_email
(array)Data relating to the new user email address.
- 'hash'
(string) The secure hash used in the confirmation link URL. - 'newemail'
(string) The proposed new email address.
- 'hash'
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
MU (3.0.0) | MU (3.0.0) |
4.9.0 | Introduced. |