send_email_change_email

send_email_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_email_change_email') is found 1 times:

  • /wp-includes/user.php line 2637
    2633
    2634
    2635
    2636
    2637
    2638
    2639
    2640
    2641
    2642
    2643
         * @param bool  $send     Whether to send the email.
         * @param array $user     The original user array.
         * @param array $userdata The updated user array.
         */
        $send_email_change_email = apply_filters( 'send_email_change_email', true, $user, $userdata );
    }
     
    clean_user_cache( $user_obj );
     
    // Merge old and new fields with new fields overwriting old ones.
    $userdata = array_merge( $user, $userdata );

See this hook used in plugins: