Support

Account

Home Forums Front-end Issues Get distinct values from a custom field

Unread

Get distinct values from a custom field

  • Hi !

    I’m looking for the more efficient way to retrieve all distinct values from a custom field.

    Here is my situation :
    I’m using WordPress. I have a custom field named ‘agent_suburb’. It’s used with my custom post type ‘agent’. I would like to get all distinct values from this particular custom type to create a select box for my research area.

    Any idea ? 🙂

    Thanks for your help

Viewing 1 post (of 1 total)

You must be logged in to reply to this topic.