Hello, my first time using this plugin and wowowow its awesome!
Maybe a stupid question…
I’have created 18 field to create a user profile.
Name – Surname – City – Mail … etc…
Now the question…
is there a way to find for example all the users who live in New York and tell me their email?
should it be structured like this …?
$ field = get_field_object ('mail');
if ($ field ['NewYork']):?>
<? php foreach ($ field ['NewYork'] as $ value => $ label):?>
<li> <? php echo $ label; ?> </li>
<? php endforeach; ?>
<? php endif; ?>