API KEY for Google Maps
View on WordPress.orgScores higher than 90% of indexed plugins
About
Retroactively add Google Maps API KEY to any theme or plugin.
Security History
What It Does
API KEY for Google Maps is a lightweight utility plugin that registers your Google Maps API key with WordPress, automatically applying it to any theme or plugin that loads Google Maps. It solves the common 'Oops! Something went wrong' error that appears after Google started requiring billing-enabled API keys in 2018. There are no maps to configure here; the plugin simply delivers the key to the right hook.
Who It's For
This plugin is for site owners who already have a Google Maps-enabled theme or plugin (such as a real estate listing, store locator, or property directory) and just need to inject their API key without editing child theme files. It suits users on sites where 40,000 other installs have trusted it to handle the key registration behind the scenes. It is best for non-developers who want a quick, set-and-forget fix.
Who Should Skip It
If your theme or plugin already has a built-in field for entering your Google Maps API key, you do not need this plugin. Developers comfortable adding a one-line wp_enqueue_script filter in functions.php can skip it entirely.
The Bottom Line
API KEY for Google Maps does one job and does it well, earning a quality score of 82.81/100 with top marks for maintenance and compatibility. It is a practical, no-frills fix for a specific Google Maps billing requirement that caught many site owners off guard. Just make sure you actually need this utility before installing, since it adds nothing if your theme or map plugin already has a key field.
Related Plugins
Choose WP Go Maps if you actually need to build and display interactive maps, since it handles both map creation and API key configuration in one package.
Pick WP Store Locator if your priority is letting visitors find multiple physical locations, as it includes the store directory features this plugin lacks.
Use the iframe plugin if you only need to embed a Google Maps URL without dealing with the JavaScript API key requirement at all.
Choose WP Maps if you want a modern mapper supporting Google, OpenStreetMap, and Mapbox with built-in store locator and filtering.
Pick MapPress if you want to add maps directly to posts and pages via a simple editor button rather than relying on a separate API key plugin.