Home › Forums › ACF PRO › Zip download of all .vcard files from File field › Reply To: Zip download of all .vcard files from File field
I don’t see where this $files[] = get_attached_file( $singlefile['ID'] );
would be any different. It gets the attachments file location path from the ID of the file. As long as your returning either the File ID, or File Array so that you can get the ID, there should be no difference from using image fields except that gathering the list of files will be more complicated as I said above.
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.