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.


Description

The following strings have a special meaning and will get replaced dynamically:


Top ↑

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.


Top ↑

Source

File: wp-includes/user.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
MU (3.0.0)MU (3.0.0)
4.9.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More