wpseek.com
A WordPress-centric search engine for devs and theme authors



retrieve_password_notification_email › WordPress Filter Hooks

Since6.0.0
Deprecatedn/a
apply_filters( 'retrieve_password_notification_email', $defaults, $key, $user_login, $user_data )
Parameters: (4)
  • (array) $defaults { 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. }
    Required: Yes
  • (string) $key The activation key.
    Required: Yes
  • (string) $user_login The username for the user.
    Required: Yes
  • (WP_User) $user_data WP_User object.
    Required: Yes
Defined at:
Codex:

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





Source

$notification_email = apply_filters( 'retrieve_password_notification_email', $defaults, $key, $user_login, $user_data );