email_change_email

email_change_email

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: filter

See hook in core

Displaying hooks found in version: wordpress-6.7.1

apply_filters('email_change_email') is found 1 times:

  • /wp-includes/user.php line 2763
    		 * }
    		 * @param array $user     The original user array.
    		 * @param array $userdata The updated user array.
    		 */
    		$email_change_email = apply_filters( 'email_change_email', $email_change_email, $user, $userdata );
    
    		$email_change_email['message'] = str_replace( '###USERNAME###', $user['user_login'], $email_change_email['message'] );
    		$email_change_email['message'] = str_replace( '###ADMIN_EMAIL###', get_option( 'admin_email' ), $email_change_email['message'] );
    		$email_change_email['message'] = str_replace( '###NEW_EMAIL###', $userdata['user_email'], $email_change_email['message'] );
    		$email_change_email['message'] = str_replace( '###EMAIL###', $user['user_email'], $email_change_email['message'] );
    		$email_change_email['message'] = str_replace( '###SITENAME###', $blog_name, $email_change_email['message'] );