Home › Forums › ACF PRO › Zip download of all .vcard files from File field › Reply To: Zip download of all .vcard files from File field
In the code you gave as and example, all of the images are stored in a single field. You’re difference is that the values are stored in a field associated with each user.
First you need to query all of the users https://codex.wordpress.org/Function_Reference/get_users
then you need to loop through the list of users and get the value of the field for each and from this get the file path and add it.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.