Home › Forums › Backend Issues (wp-admin) › ACF repeater options used as choices in ACF field › Reply To: ACF repeater options used as choices in ACF field
You need to create an acf/prepare_field filter and get the values from the options.
This documentation covers the basics https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/
But you should use the prepare field filter https://www.advancedcustomfields.com/resources/acf-prepare_field/ rather than the load field filter. acf/prepare_field was introduced after the other document was written
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.