I want to display all unique values of a “photographer” field of each media in the gallery.
Without repeating the same value if it already exists.
Example of photographer present in the select “photographer” field of ACF in the gallery:
I want to display:
and not the same value repeated.