Only allow edit of custom field once per customer on My account > edit account in WooCommerce
问题 I have added a DOB field to the WooCommerce My account section Account details . The field is a date field (date of birth). The customer can edit and save. Problem is; the customer can edit and save over and over again. This is a problem because of the discount that I would like to automatically apply based on the DOB date. If the customer can edit this field more than once; they can potentially get a discount each and every day. For obvious reasons, this cannot happen. I need help in making