W3cubDocs

/WordPress

apply_filters( ‘send_password_change_email’, bool $send, array $user, array $userdata )

Filters whether to send the password change email.

Description

See also

Parameters

$sendbool
Whether to send the email.
$userarray
The original user array.
$userdataarray
The updated user array.

Source

$send_password_change_email = apply_filters( 'send_password_change_email', true, $user, $userdata );

Changelog

Version Description
4.3.0 Introduced.

© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/send_password_change_email