title: Get all product categories in WooCommerce
body: <p>I am trying to get product categories in WooCommerce, but <code>get_terms()</code> function doesn't work for me. I am getting an empty array.</p>
  
  <p>What I am doing wrong? How to get all Woocommerce product category terms?</p>