Home › Forums › ACF PRO › get all fields by group id › Reply To: get all fields by group id
As far as I know, no, there isn’t any function that will automatically get what you’re looking for. You might be better off posting a new topic rather than adding to another question. It will be seen by more people if it’s in a new thread with no replies.
If you want to get all the fields assigned to a post type then you can get all the field groups with the function I posted above. Then you can loop through all the field groups and look at the location rules to see if they match the post type you’re looking for.
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.