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. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.
To disable Password Change notifications:
Or even shorter:
Example migrated from Codex:
To disable the notice of changed password sent by the wp_update_user() function, simply use the filter hook to __return_false():