apply_filters( 'retrieve_password_notification_email', array $defaults )

Filters the contents of the reset password notification email sent to the user.


Parameters

$defaults

The default notification email arguments. Used to build wp_mail().<br>

  • 'to'
    (string) The intended recipient
    • user email address.<br>
  • 'subject'
    (string) The subject of the email.<br>
  • 'message'
    (string) The body of the email.<br>
  • 'headers'
    (string) The headers of the email.<br>


Source

File: wp-includes/user.php

View on GitHub


Changelog

Changelog
Version Description
6.0.0 Introduced.