Home › Forums › General Issues › Dynamically load checkbox values? › Reply To: Dynamically load checkbox values?
You can use an acf/load_field filter https://www.advancedcustomfields.com/resources/acf-load_field/. The choices of a checkbox field work the same as the choice for a select field https://www.advancedcustomfields.com/resources/dynamically-populate-a-select-fields-choices/.
You can either hard code the choices in the filter or you could create an options page that let’s you set them and then load the choices from there.
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.