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.


Top ↑

Parameters

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

Top ↑

Source

File: wp-includes/user.php. View all references

if ( ! apply_filters( 'send_retrieve_password_email', true, $user_login, $user_data ) ) {


Top ↑

Changelog

Changelog
Version Description
6.0.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.