Home › Forums › Add-ons › Repeater Field › Get all Fields & Sub Fields of a POST ( Repeater) › Reply To: Get all Fields & Sub Fields of a POST ( Repeater)
Repeaters are saved in multiple db entires. The meta_key for the repeater holds the number of rows. Each subfield is saved at “{$repeater}_{$row}_{$sub_fieeld}”
There isn’t any page where you can find all ACF functions. The 2 functions that I posted are internal function used by ACF and not something that most people would use. They are functions that I know are there because I have spent several years digging around in the ACF code to not only know how it works but to build things that alter the way ACF functions.
There isn’t any way to get all of the fields of a specific type other than to know what fields you want to get. ACF does not even know what type of field is being called until it matches a field name up with a field key and gets the field object. I suppose you could build additional functionality that does this, but there’s nothing built in that will do it for you.
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.