send_retrieve_password_email WordPress Filter Hook

The send_retrieve_password_email Wordpress hook allows you to send a password reset email to a user. This email will contain a link that the user can click on to reset their password.

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 on Trac



Top ↑

Changelog

Changelog
VersionDescription
6.0.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More
Show More