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.}
3465* @type string$headers The headers of the email.3466*}3467* @param string$key The activation key.3468* @param string$user_login The username for the user.3469* @param WP_User$user_data WP_User object.3470*/3471$notification_email=apply_filters('retrieve_password_notification_email',$defaults,$key,$user_login,$user_data);34723473if($switched_locale){3474restore_previous_locale();3475}34763477if(is_array($notification_email)){
History
Introduced in 6.0.0. Unchanged from 6.7.7 through 7.1.0.