apply_filters( 'send_password_change_email', bool $send, array $user, array $userdata )

Filters whether to send the password change email.

Description Description

See also See also

Top ↑

Parameters Parameters


(bool) Whether to send the email.


(array) The original user array.


(array) The updated user array.

Top ↑

Source Source

File: wp-includes/user.php

View on Trac

Top ↑

Changelog Changelog

Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

  1. Skip to note 1 content
    Contributed by GenerateWP

    To disable Password Change notifications:

    function disable_password_change_email( $send, $user, $userdata ) {
    	return false;
    add_filter( 'send_password_change_email', 'disable_password_change_email' );

    Or even shorter:

    add_filter( 'send_password_change_email', '__return_false' );

You must log in before being able to contribute a note or feedback.