Home Forums General Issues Get all custom field values


Get all custom field values

  • Hi,

    Let’s say I have a custom post type “Film”, with some ACF fields, among them, one called “Genre”.

    How would I get all the (unique) genres from across all posts?

    To clarify further, let’s say I have:

    Movie1 : Horror, Drama
    Movie2 : Drama, Comedy

    And want to fetch all custom values, like: Horror, Drama, Comedy.


Viewing 1 post (of 1 total)

The topic ‘Get all custom field values’ is closed to new replies.