filter

jetpack_google_maps_api_key

Set a Google Maps API Key.

Parameters

$api_key
string

Google Maps API Key

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.

Notes

You can use this filter to specify a custom Google Maps API key to be used with the Contact Info Widget. Here is an example:
function jeherve_contact_info_google_key() {
        return '12345'; // Your API Key.
}
add_filter( 'jetpack_google_maps_api_key', 'jeherve_contact_info_google_key' );
You can get your own API key here.