title: ACF retrieving checkbox value from a Taxonomy (category) page
body: <p>With ACF I understand how to retrieve the checkbox values from a page but unclear from a taxonomy page, here is what I have so far</p>
  
  <p>I have a new ACF which adds a checkboxes called "location"</p>
  
  <pre><code>ACF Field Name = "location"
  Choices = 
  zone1 : Zone 1
  zone2 : Zone 2
  zone3 : Zone 3
  zone4 : Zone 4
  </code></pre>
  
  <p><strong>this is my current code which displays the zone name</strong></p>
  
  <pre><code>    &lt;div class="selection"&gt;
      &lt;?php
          $lines = get_terms( array(
              'taxonomy' =&gt; 'zone_line',
              'hierarchical' =&gt; true,
              'parent' =&gt; 0,
              'hide_empty' =&gt; True,
          ) );
  
          foreach( $lines as $line ):
      ?&gt;
  
  
  &lt;!-- //start: only show if checkbox zone1 is check --&gt;    
      &lt;a href="&lt;?php echo esc_attr( Center()-&gt;link_res_line( $line ) ); ?&gt;"&gt;
  &lt;?php echo $line-&gt;name; ?&gt;&lt;span class="fa fa-chevron-right"&gt;&amp;nbsp;&lt;/span&gt;&lt;/a&gt;
  &lt;!-- //end --&gt;    
  
          &lt;?php endforeach; ?&gt;
      &lt;/div&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/BJRUH.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/BJRUH.png" alt="CF settings"></a></p>
  
  <p><a href="https://i.stack.imgur.com/24NTu.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/24NTu.png" alt="enter image description here"></a></p>