title: WC()->shipping->get_packages() returns empty array
body: <p>I am trying to loop through my WooCommerce shop's shipping methods. I have tried with this peiece of code, as recommended elsewhere:</p>
  
  <pre><code>WC()-&gt;shipping-&gt;get_packages()
  </code></pre>
  
  <p>However, it returns an empty array. Shipping is enabled and works fine on my shop though.</p>
  
  <p>How come? And what can I do to retrieve enabled shipping methods?</p>