Filters the contents of the email sent when the user’s email is changed.
Parameters
$email_change_emailarray- Used to build wp_mail() .
tostringThe intended recipients.subjectstringThe subject of the email.messagestringThe content of the email.
The following strings have a special meaning and will get replaced dynamically:
###USERNAME###The current user’s username.###ADMIN_EMAIL###The admin email in case this was unexpected.###NEW_EMAIL###The new email address.###EMAIL###The old email address.###SITENAME###The name of the site.###SITEURL###The URL to the site.
headersstringHeaders.
$userarray- The original user array.
$userdataarray- The updated user array.
Source
$email_change_email = apply_filters( 'email_change_email', $email_change_email, $user, $userdata );
Changelog
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.