Home › Forums › Backend Issues (wp-admin) › How to: Loop through value and label › Reply To: How to: Loop through value and label
Hi @slaughter77
This depends on the type of field you are referring to. Can you please describe what field type you are using, and where the label / value come from?
I would assume that you are using a select field and the label will come from the choices. If this is correct, you can see a code example of this on the select field’s documentation – http://www.advancedcustomfields.com/resources/field-types/select/
Thanks
E
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.