title: For specific country replace city with the chosen state value in Woocommerce checkout
body: <p>In Woocommerce, I wrote the code for billing_state to use the shipping charge. Now I want to write the value from billing_state to billing_city, when changing billing_state, billing_city also changes</p>
  
  <p>This are my custom states code:</p>
  
  <pre><code>add_filter( 'woocommerce_states', 'vietnam_cities_woocommerce' );
  function vietnam_cities_woocommerce( $states ) {
    $states['VN'] = array(
      'HCM' =&gt; __('Hồ Chí Minh', 'woocommerce') ,
      'HANOI' =&gt; __('Hà Nội', 'woocommerce') ,
      'HAIPHONG' =&gt; __('Hải Phòng', 'woocommerce') ,
  
    );
  
    return $states;
  }
  </code></pre>
  
  <p>Any help is appreciated.</p>