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

apply_filters('send_email_change_email') is found 1 times:

  • /wp-includes/user.php line 2637
    		 * @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: