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_email
array -
Used to build wp_mail() .
to
stringThe intended recipient - site admin email address.subject
stringThe subject of the email.message
stringThe body of the email.headers
stringThe headers of the email.
-
$user
WP_User -
User object for user whose password was changed.
-
$blogname
string -
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 );
Changelog
Version | Description |
---|---|
4.9.0 | Introduced. |