Filters the contents of the email sent when the user’s password is changed.
$pass_change_emailarray
to stringsubject stringmessage string###USERNAME### The current user’s username.###ADMIN_EMAIL### The admin email in case this was unexpected.###EMAIL### The user’s email address.###SITENAME### The name of the site.###SITEURL### The URL to the site.headers string$userarray
$userdataarray
$pass_change_email = apply_filters( 'password_change_email', $pass_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/password_change_email