apply_filters( 'send_email_change_email', bool $send , array $user , array $userdata )
Filters whether to send the email change email.
Description Description
See also See also
- wp_insert_user(): For
$user
and$userdata
fields.
Parameters Parameters
- $send
-
(bool) Whether to send the email.
- $user
-
(array) The original user array.
- $userdata
-
(array) The updated user array.
Source Source
File: wp-includes/user.php
Changelog Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |
User Contributed Notes User Contributed Notes
You must log in before being able to contribute a note or feedback.
To disable the automatic email response to users when their password or email is changed, include this in your functions.php.
This is useful during development when setting up many user accounts at once and you have to change their information. It might be better to only return false if this is not your user id, so the notification still gets delivered if it’s not you doing the changes.