Home › Forums › Front-end Issues › Google map address › Reply To: Google map address
if you do:
echo $address[0] — you would get the name of the place
echo $address[4] — should be the zip code
you can just put in different values to see what each one is, or you can do print_r($address); which will give you the array with all of the values.
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.