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.4.3

apply_filters('send_password_change_email') is found 1 times:

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