* Renders a Google Map onto the selected jQuery element
And it works fine. But only if I reference the API key as specified in the helper code. Which seems possibly insecure because your key is easily visible in your page source?
I commented out the key script and it immediately stopped working.
So, what’s the point of adding the key to my functions file if it doesn’t seem to actually be referenced or used? Am I doing it wrong? Should I be adding it somewhere else? Is it OK to have my key visible in my page source or is there a better method?
Any insight would be appreciated. Thanks!
Viewing 1 post (of 1 total)
You must be logged in to reply to this topic.
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users