During WooCommerce checkout, there are number of countries (Afghanistan, Poland, etc ) for which state field does not show up while entering billing and shipping address.
The complete list of states can be found by referring the function “load_country_states” from WooCommerce code class-wc-countries.php.
Now, if you want to achieve this.
Below code snippet will help you to solve this problem.
Code Snippet to enable State for specific countries.
Below code snippet will enable state for Afghanistan (‘AF’). Change the code accordingly to so the same for other countries.
Paste this snippet to make it work.