Filter hook 'send_retrieve_password_email'

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

Description

Filters whether to send the retrieve password email. Return false to disable sending the email.

Occurrences

Filename Line Number
wp-includes/user.php 3187

Parameters

Type Name Description
bool $send Whether to send the email.
string $user_login The username for the user.
WP_User $user_data WP_User object.

PHP Doc

/**
	 * Filters whether to send the retrieve password email.
	 *
	 * Return false to disable sending the email.
	 *
	 * @since 6.0.0
	 *
	 * @param bool    $send       Whether to send the email.
	 * @param string  $user_login The username for the user.
	 * @param WP_User $user_data  WP_User object.
	 */