title: How to get categories by custom field?
body: <p>I'm using WP plugin "Advance custom field" and I'm interested is it possible to get categories (custom query or some wp query) over custom field. </p>
  
  <p>For example I've created field "Show on Home page?" (radio button which has values: Yes or NO).</p>
  
  <p>Can I get categories by this custom field (if Yes is selected) ?
  Thank you</p>
  
  <p>UPDATE:</p>
  
  <pre><code>$categories = get_categories( $args );
  </code></pre>