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
$wp_password_change_notification_email = apply_filters( 'wp_password_change_notification_email', $wp_password_change_notification_email, $user, $blogname );
Changelog
| Version | Description |
|---|---|
| 4.9.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.