title: Wordpress get_terms don't work when hide_empty is set to true
body: <p>I try to get only custom taxonomy (with posts), e.g. portfolio_category.
  Code:</p>
  
  <pre><code>$args = array(
          'orderby'       =&gt; 'name',
          'order'         =&gt; 'ASC',
          'hide_empty'    =&gt; true,
          'fields'        =&gt; 'id=&gt;name',
          'get'           =&gt; 'all',
  );
  $TermsList = \get_terms($tax_name, $args);
  </code></pre>
  
  <p>But if I set hide_empty to true or remove 'get' => 'all' it always return empty array.</p>