send_password_change_email

send_password_change_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter
See hook in action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

apply_filters('send_password_change_email') is found 1 times:

  • /wp-includes/user.php line 2622
    2618
    2619
    2620
    2621
    2622
    2623
    2624
    2625
    2626
    2627
    2628
         * @param bool  $send     Whether to send the email.
         * @param array $user     The original user array.
         * @param array $userdata The updated user array.
         */
        $send_password_change_email = apply_filters( 'send_password_change_email', true, $user, $userdata );
    }
     
    if ( isset( $userdata['user_email'] ) && $user['user_email'] !== $userdata['user_email'] ) {
        /**
         * Filters whether to send the email change email.
         *

See this hook used in plugins: