Filter hook 'retrieve_password_notification_email'

in WP Core File wp-includes/user.php at line 3298

Description

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

Occurrences

Filename Line Number
wp-includes/user.php 3298

Parameters

Type Name Description
array $defaults { The default notification email arguments. Used to build wp_mail().
string $key The activation key.
string $user_login The username for the user.
WP_User $user_data WP_User object.

PHP Doc

/**
	 * Filters the contents of the reset password notification email sent to the user.
	 *
	 * @since 6.0.0
	 *
	 * @param 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.
	 * }
	 * @param string  $key        The activation key.
	 * @param string  $user_login The username for the user.
	 * @param WP_User $user_data  WP_User object.
	 */