WordPress at a glance
filter is not described

wp_password_change_notification_email filter-hook . WP 4.9.0

Filters the contents of the password change notification email sent to the site admin.

Usage

add_filter( 'wp_password_change_notification_email', 'filter_function_name_6671', 10, 3 );
function filter_function_name_6671( $wp_password_change_notification_email, $user, $blogname ){
	// filter...

	return $wp_password_change_notification_email;
}
$wp_password_change_notification_email(array)

Used to build wp_mail().

  • $to (string)
    The intended recipient - site admin email address.

  • $subject (string)
    The subject of the email.

  • $message (string)
    The body of the email.

  • $headers (string)
    The headers of the email.
$user(WP_User)
User object for user whose password was changed.
$blogname(string)
The site title.

Where the hook is called

wp_password_change_notification()
wp_password_change_notification_email
wp-includes/pluggable.php 1788
$wp_password_change_notification_email = apply_filters( 'wp_password_change_notification_email', $wp_password_change_notification_email, $user, $blogname );

Where the hook is used (in WP core)

Does not used.