woocommerce_disable_password_change_notification

woocommerce_disable_password_change_notification

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

See hook in core

Displaying hooks found in version: woocommerce.8.7.0

apply_filters('woocommerce_disable_password_change_notification') is found 1 times:

  • /includes/shortcodes/class-wc-shortcode-my-account.php line 381
     
    		wp_set_password( $new_pass, $user->ID );
    		self::set_reset_password_cookie();
    
    		if ( ! apply_filters( 'woocommerce_disable_password_change_notification', false ) ) {
    			wp_password_change_notification( $user );
    		}
    	}
    
    	/**
    	 * Set or unset the cookie.