title: Get name of the taxonomy name from the term id
body: <p>I have a custom user registration field call country, outlet, company (They're all taxonomy).</p>
  <p>Eg. taxonomy=country&amp;tag_ID=36&amp;post_type=company</p>
  <pre><code>$country_tagid = the_field('country', 'user_'.$user_id-&gt;ID); //This output 36
  $countrydata = get_terms('country',array('id'=&gt;$country_tagid)); // 
  echo $countrydata-&gt;name; //return nothing
  $getcountrydata = get_term( $country_tagid );
  print ($getcountrydata-&gt;name); //return nothing
  </code></pre>
  <p>All of them did not return the name. I expect it to return 'Thailand'. What is wrong?</p>
  <p>EDIT:
  Strange, i manually entered outside the loop of my users.</p>
  <pre><code>&lt;?php
      $catinfo = get_term_by( 'id', 36, 'country' );
      print $catinfo-&gt;slug; //thailand
  ?&gt;
  </code></pre>
  <p>This works.
  I suspect something is wrong here</p>
  <pre><code>$country_tagid = the_field('country', 'user_'.$user_id-&gt;ID); //This output 36
  </code></pre>
  <p>This line prints 36. Now I'm trying to get_field. but it return me arr</p>