title: WP Advanced Custom Fields - True/False field if/else statement
body: <p>I'm using an ACF Radio Button field to toggle the display of code based on ticking "yes" or "no".  Like this:</p>
  
  <pre><code>&lt;?php if (get_field('toggle') == 'no'): ?&gt;
  
      some stuff here
  
  &lt;?php elseif(get_field('toggle') == 'yes'): ?&gt;
  
      some other stuff here
  
  &lt;?php endif; ?&gt;
  </code></pre>
  
  <p>But what I'd really like is to use the True/False field and have it display some default code when unchecked, and different code when checked.  I'm just not sure how to adapt the code above to reflect that use of the True/False field.  Any ideas?  Thanks in advance.</p>