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
Hi, @aliasse were you able to find a solution for this issue?
Dear moderators,
I’m also facing the same issue and currently looking for a solution.
Thank You.