Filters the contents of the email sent when the user’s email is changed.
$email_change_emailarray
to stringsubject stringmessage string###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.headers string$userarray
$userdataarray
$email_change_email = apply_filters( 'email_change_email', $email_change_email, $user, $userdata );
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/email_change_email