Active installations30K+Adoption metric — not a quality score
WordPress.org rating4.9 / 5 from 55 ratings
Official packageDirect from WordPress.org
Repository metrics are context, not quality scores. Active installations measure adoption and can strongly reflect a plugin’s age and historical popularity. Ratings, recent updates and “Tested up to” metadata also do not guarantee modern code, error-free operation, security, feature completeness or suitability for a particular site. Why active installs don’t tell the whole story →
WP PlugIndex currently records API KEY for Google Maps version 1.2.16 as active, updated 1mo ago and tested up to WordPress 7.1.
Overview
About this plugin
Many themes and plugins load Google Maps without an API key, or without a setting to enter one. Google requires an API key for every Maps JavaScript API request, so these maps fail with “This page can’t load Google Maps correctly” or show a “For development purposes only” watermark.
API KEY for Google Maps fixes this without touching theme or plugin code. Enter your key once and the plugin adds it to every Google Maps JavaScript API script enqueued on the site.
Features
Adds your API key to Google Maps JavaScript API scripts enqueued by any theme or plugin.
Replaces an outdated or different key already present in the script URL with your own.
Adds the callback parameter Google has required since January 2023, fixing the JavaScript error Loading the Google Maps JavaScript API without a callback is not supported.
Works on the front end of your site and in the WordPress admin.
One-click Generate API Key button that opens the Google Cloud Console with the Maps APIs selected.
Quick link to a free tool that checks your site for Google Maps API key errors.
Lightweight: a single settings field and a tiny inline script. The saved key is removed when you delete the plugin.
How to use
Activate the plugin and go to Settings > Google API KEY.
Click Generate API Key (you must be signed in to your Google account), or paste a key you already have.
Click Save Changes. Your maps now load with your key.
Requirements and tips
The theme or plugin must load Google Maps the standard WordPress way (with wp_enqueue_script() ). Scripts that are hard-coded into templates or injected by JavaScript can not be changed.
Browser API keys are visible in your page source. In the Google Cloud Console, restrict your key to your website’s domain (HTTP referrers) and to the Maps APIs you use.
For developers
rgmkGoogleMapsCallback to true and triggers the jQuery event rgmkGoogleMapsLoad on document. Use the rgmk_google_map_callback_script filter to change the callback script.
The plugin was created by the GeoDirectory team.
Security
To report a security vulnerability, please review our vulnerability disclosure policy.
WordPress.org metadata
Plugin tags
Topics listed for this plugin in the WordPress.org directory.
google maps
google maps api callback
google maps api key
google maps callback
google maps key
Compatibility & maintenance
Compatibility & maintenance
Tested with WP 7.1
Marked as tested with the current WordPress 7.1 release.
Current WordPress releaseWordPress 7.1
WordPress.org Tested up to7.1
Minimum requirementsWordPress 6.0 · PHP 7.4
Update activity30 Sept 20261mo ago
“Tested up to” is directory metadata supplied by the plugin author. WP PlugIndex does not turn an older declaration into a claim that the plugin is incompatible.
Changes recorded by WP PlugIndex
Recent tracked changes
Version1.2.15→1.2.16
WordPress compatibility7.0.4→7.1.2
Tracking & source
WP PlugIndex tracks public WordPress.org directory metadata and records selected version, compatibility and availability changes as they are detected.