Home › Forums › Front-end Issues › checkbox fn('get_field') return as array › Reply To: checkbox fn('get_field') return as array
A checkbox field stores an array and get_field will always return an array. I don’t know anything about twig, but you’d need to loop over the array. You might want to check documentation for twig or ask this question where someone knows about it because I’ve never seen a twig question answered here, and there have been many.
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.