apply_filters( 'send_retrieve_password_email', bool $send, string $user_login, WP_User $user_data )

Filters whether to send the retrieve password email.


Description

Return false to disable sending the email.


Parameters

$send

Whether to send the email.

$user_login

The username for the user.

$user_data

WP_User object.


Source

File: wp-includes/user.php

View on GitHub


Changelog

Changelog
Version Description
6.0.0 Introduced.