Home › Forums › ACF PRO › ACF Google Maps callback error › Reply To: ACF Google Maps callback error
This continues to be an issue for me. I’ve added the line “$api[‘callback’] = ‘Function.prototype’;” to my function.
For some reason though, the callback is not getting appended to the script reference when it’s published to the site, just the API key like so:
<script async src=”https://maps.googleapis.com/maps/api/js?key=API_KEY”></script>
That’s the part that is a mystery. It sounds like it’s working for some of you but not all of us.
<sigh>
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.