Home › Forums › Front-end Issues › Retrieve all field options in admin › Reply To: Retrieve all field options in admin
try ‘get_field_object($field_key)` but this will also default to the current post id. But the choices should be the same for all fields, shouldn’t they?
you can also try acf_get_field($field_key)
which is an internal ACF function that is used for getting a specific field.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.