Support

Account

Home Forums General Issues How do i get a list of all ACF fields (not just for a specific post)?

Unread

How do i get a list of all ACF fields (not just for a specific post)?

  • Is there an ACF method to get a list of all fields that have been created.

    WordPress doesn’t create a field in the postsmeta table until it is populated, so searching it for custom fields is unreliable. And using get_fields() only works on a specific post.

    I want a function something like get_all_fields().

    If not, does ACF keep a data dictionary somewhere?

    There must be something, because ACF knows all my fields when I go to the fields editor.

    Thanks

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.

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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.