Home › Forums › Backend Issues (wp-admin) › Google Maps field needs setting to add API key › Reply To: Google Maps field needs setting to add API key
Hey guys,
It looks like the fix is available with of 5.4 RC1! http://d.pr/i/1b6ZB
If you go to your Account, then there by download, click “See all versions”, there is the download link.
EDIT:
I just wanted to say that I did the update, and got it to work! There doesn’t appear to be a UI for setting the API key just yet (or maybe I’m just missing it), but it’s easy enough to set with a filter:
add_filter('acf/settings/google_api_key', function () {
return 'your-api-key';
});
You also need to make sure that the Google Maps JavaScript API is enabled for using with your project in the Google APIs Developer Console where you obtained your key.
Cheers!
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 Cookie Policy. If you continue to use this site, you consent to our use of cookies.