retrieve_password_notification_email WordPress Filter Hook

This hook is fired when a user attempts to retrieve their password. It allows you to modify the email that is sent to the user.

apply_filters( 'retrieve_password_notification_email', array $defaults ) #

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


Parameters

$defaults

(array)The default notification email arguments. Used to build wp_mail().

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


Top ↑

Source

File: wp-includes/user.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
6.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More