send_password_change_email WordPress Filter Hook
The send_password_change_email WordPress hook is used to send a notification email to a user when their password is changed. This hook is triggered when a user changes their password via the WordPress admin panel.
apply_filters( 'send_password_change_email', bool $send , array $user , array $userdata ) #
Filters whether to send the password change email.
Description
See also
- wp_insert_user(): For
$user
and$userdata
fields.
Parameters
- $send
(bool)Whether to send the email.
- $user
(array)The original user array.
- $userdata
(array)The updated user array.
Source
File: wp-includes/user.php
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |