
By default, WooCommerce shows form failures when entering an incorrect field.

For example, if you add the password incorrectly, it will indicate that the password is incorrect. The same happens if you make a mistake in the user.

This function prevents this type of information from being displayed and also allows you to add a personalized message.