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 …?
<? php
$ field = get_field_object ('mail');
if ($ field ['NewYork']):?>
<ul>
<? php foreach ($ field ['NewYork'] as $ value => $ label):?>
<li> <? php echo $ label; ?> </li>
<? php endforeach; ?>
</ul>
<? php endif; ?>