I am trying to find a way to remove a few US states from the "State" dropdown in WooCommerce checkout page.
List of states:
- Hawaii
- Alaska
- Armed Forces (AA)
- Armed Forces (AE)
- Armed Forces (AP)
What I have been doing so far:
I have been manually removing them as mentioned in this link. But this is not a good way, as the changes get overwritten every time WooCommerce is updated.
Alternative I found: On this link WooCommerce restrict shipping to states based on category, there's a way to set shipping states if specific condition is met. I am wondering if I can unset five states. This sounds more logical to me than setting 50 states. But unfortunately, I am not able to find anything useful.
Any ideas what could be a possible solution?