On this page
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
Source
File: wp-includes/user.php. View all references
if ( ! apply_filters( 'send_retrieve_password_email', true, $user_login, $user_data ) ) {
Related
Used By
| Used By | Description |
|---|---|
| retrieve_password() wp-includes/user.php | Handles sending a password retrieval email to a user. |
Changelog
| Version | Description |
|---|---|
| 6.0.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/send_retrieve_password_email