title: Only display Woocommerce child product categories
body: <p>I am currently using the following code to fetch WooCommerce product categories:</p>
  
  <pre><code>&lt;?php
      $orderby = 'name';
      $order = 'asc';
      $hide_empty = false ;
      $cat_args = array(
          'orderby'    =&gt; $orderby,
          'order'      =&gt; $order,
          'hide_empty' =&gt; $hide_empty,
      );
  
      $product_categories = get_terms( 'product_cat', $cat_args );
  
      if( !empty($product_categories) ){
          echo '&lt;ul&gt;';
          foreach ($product_categories as $key =&gt; $category) {
              echo '&lt;li&gt;';
              echo '&lt;a href="'.get_term_link($category).'" &gt;';
              echo $category-&gt;name;
              echo '&lt;/a&gt;';
              echo '&lt;li&gt;';
          }
          echo '&lt;/ul&gt;';
      }
  ?&gt;
  </code></pre>
  
  <p>This currently displays all categories, however I wish this to only show the child categories. </p>
  
  <p>For example, if you are on the Category 1 page, it should show all children within that category only.</p>
  
  <p>I've looked at many examples on here but have been unable to find something that works for what I need.</p>