title: How does WooCommerce get a user's country
body: <p>Ok so I know that to get the current user's location in WooCommerce you use </p>
  
  <pre><code>$woocommerce-&gt;customer-&gt;get_country( );
  </code></pre>
  
  <p>Woocommerce then returns the user's country as a 2 character user code i.e (GB,US,MX) My question is, where is WooCommerce getting this value? even when I am logged out it seems to get the correct location. Is this some kind of Geo coding or it uses a cookie or database to return a user inputed value?</p>