Home Forums ACF PRO get all fields by group id Reply To: get all fields by group id

  • I’m trying to get all fields of a specific group for a very long time now. What I need is to get all fields assigned to a specific custom post type, or if not possible, all fields inside a field group, either by the title or by the post id of the group. Or at least anyhow.

    Could anyone please provide a few bits of code for this? I am almost at wits end. Please?

    I can’t believe that there is no internal function for such a common task. Imagine to create a post from the front end, how to fill the appropriate acf fields? Or imagine a plugin setting, that defines something around this post creation, like which fields are visible? All these tasks need to know which fields are associated.

    Every helping hand is truly appreciated.I searched through the documentation and the forums for several times, and I almost googled myself to death.