Filters the contents of the reset password notification email sent to the user.
Parameters
$defaultsarray
{ The default notification email arguments. Used to build wp_mail(). @type string $to The intended recipient - user email address. @type string $subject The subject of the email. @type string $message The body of the email. @type string $headers The headers of the email.}
3312* @type string$headers The headers of the email.3313*}3314* @param string$key The activation key.3315* @param string$user_login The username for the user.3316* @param WP_User$user_data WP_User object.3317*/3318$notification_email=apply_filters('retrieve_password_notification_email',$defaults,$key,$user_login,$user_data);33193320if($switched_locale){3321restore_previous_locale();3322}33233324if(is_array($notification_email)){
History
Introduced in 6.0.0. Unchanged from 6.7.7 through 7.1.0.