title: Wordpress: Get the select field option choices in ACF (Advanced Post Field) plugin?
body: <p>I'm now using Advanced Custom Fields Plugin in wordpress.</p>
  <p>And now I defined some Choices, and they have Choices set as below:</p>
  <blockquote>
  <p>Field Name: time_availability</p>
  <p>Field Type: Select</p>
  </blockquote>
  <pre><code>low : Once or twice
  high : Several times
  </code></pre>
  <p>So, I want to enumerate these settings in the page code, like rendering:</p>
  <pre><code>&lt;ul&gt;
    &lt;li&gt;&lt;input type=&quot;radio&quot; name=&quot;low&quot; /&gt; Once or twice&lt;/li&gt;
    &lt;li&gt;&lt;input type=&quot;radio&quot; name=&quot;high&quot; /&gt; Several times&lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>
  <p>How can I get the choices?</p>
  <hr />
  <h3>Update:</h3>
  <p>Seemed if calling the <code>get_field_object($field_name)</code> may got the entire field settings, including the choices.</p>
  <p>But when I call the function with the field name, the below is returned:</p>
  <pre><code>array(18) {
    [&quot;key&quot;]=&gt;
    string(33) &quot;field_time_availability&quot;
    [&quot;label&quot;]=&gt;
    string(0) &quot;&quot;
    [&quot;name&quot;]=&gt;
    string(27) &quot;time_availability&quot;
    [&quot;_name&quot;]=&gt;
    string(27) &quot;time_availability&quot;
    [&quot;type&quot;]=&gt;
    string(4) &quot;text&quot;
    [&quot;order_no&quot;]=&gt;
    int(1)
    [&quot;instructions&quot;]=&gt;
    string(0) &quot;&quot;
    [&quot;required&quot;]=&gt;
    int(0)
    [&quot;id&quot;]=&gt;
    string(37) &quot;acf-field-time_availability&quot;
    [&quot;class&quot;]=&gt;
    string(4) &quot;text&quot;
    [&quot;conditional_logic&quot;]=&gt;
    array(3) {
      [&quot;status&quot;]=&gt;
      int(0)
      [&quot;allorany&quot;]=&gt;
      string(3) &quot;all&quot;
      [&quot;rules&quot;]=&gt;
      int(0)
    }
    [&quot;default_value&quot;]=&gt;
    string(0) &quot;&quot;
    [&quot;formatting&quot;]=&gt;
    string(4) &quot;html&quot;
    [&quot;maxlength&quot;]=&gt;
    string(0) &quot;&quot;
    [&quot;placeholder&quot;]=&gt;
    string(0) &quot;&quot;
    [&quot;prepend&quot;]=&gt;
    string(0) &quot;&quot;
    [&quot;append&quot;]=&gt;
    string(0) &quot;&quot;
    [&quot;value&quot;]=&gt;
    bool(false)
  }
  </code></pre>
  <p>Not the expecting result.</p>
  <p>While if I call that function with the raw field name:</p>
  <pre><code>get_field_object('field_55df081515e81');
  </code></pre>
  <p>It goes right!</p>
  <p>What's the matter? What's the difference and how can I get it right using the field_name?</p>