send_retrieve_password_email

send_retrieve_password_email

Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7

apply_filters('send_retrieve_password_email') is found 1 times:

  • /wp-includes/user.php line 3199
    	 * @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.
    	 */
    	if ( ! apply_filters( 'send_retrieve_password_email', true, $user_login, $user_data ) ) {
    		return true;
    	}
    
    	// Redefining user_login ensures we return the right case in the email.
    	$user_login = $user_data->user_login;
    	$user_email = $user_data->user_email;