Custom sorting for WooCommerce checkout page country dropdown
By default, all countries in the checkout drop-down field are sorted alphabetically, but if you’d like to change the WooCommerce country select dropdown, and show US or UK at the very top, then the following code will help. It sorts […]