title: How to get the terms from WooCommerce product attribute taxonomies?
body: <p>With the following code I populate a select dropdown item in Admin product page which I add, through a function <em>(in my theme's functions.php)</em>. For instance, I managed to get the list of all my product attributes <em>(taxanomy)</em>:</p>
  <pre><code>&lt;?php               
      $attributes =  wc_get_attribute_taxonomies();
      if($attributes) {
          foreach ( $attributes as $attribute ) {
              echo '&lt;option value=&quot;'. $attribute-&gt;attribute_id .'&quot;&gt;' . $attribute-&gt;attribute_label . '&lt;/option&gt;';
          }
      }               
  ?&gt;  
  </code></pre>
  <p>Any idea how the get the term names (labels) and ids of all the terms under a specific product attribute <em>(taxanomy)</em>, for example <code>pa_test</code>?</p>