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