On this page
apply_filters( 'wp_password_change_notification_email', array $wp_password_change_notification_email, WP_User $user, string $blogname )
Filters the contents of the password change notification email sent to the site admin.
Parameters
$wp_password_change_notification_emailarray-
Used to build wp_mail() .
tostringThe intended recipient - site admin email address.subjectstringThe subject of the email.messagestringThe body of the email.headersstringThe headers of the email.
$userWP_User-
User object for user whose password was changed.
$blognamestring-
The site title.
Source
File: wp-includes/pluggable.php. View all references
$wp_password_change_notification_email = apply_filters( 'wp_password_change_notification_email', $wp_password_change_notification_email, $user, $blogname );
Related
Used By
| Used By | Description |
|---|---|
| wp_password_change_notification() wp-includes/pluggable.php | Notifies the blog admin of a user changing password, normally via email. |
Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_password_change_notification_email