Home › Forums › ACF PRO › Get all Fields and Subfields from a page (pageID) › Reply To: Get all Fields and Subfields from a page (pageID)
well, no … or kinda. I did try “get_field_objects” (first thing I tried) but trying out the gathered field-objects (“name” and “value”), those objects with repeaterfields only returns arrays for “value”, and I dont know how to further break this value-arrays apart, since those could contain arrays themself and so on.
I just need every field of a page gathered, be it normal or subfield, and put into one array. So … pretty much the function I described a bit further up … but filled and working XD. Yet I’m starting to think getting this to work will not be as easy as I had hoped :-S ^^
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.