Kristi

Forum Replies Created

Viewing 1 post (of 1 total)
  • Author
    Posts
  • in reply to: Google Maps: No API Key error #1101540
    Kristi
    Participant

    I added this to functions.php, that way you don’t have to change any of the core files in the plugin.

    Just add your API to the url.

    
    add_filter('tribe_events_google_maps_api','google_api_key');
    
    function google_api_key() {
    	return '//maps.googleapis.com/maps/api/js?key=YOUR_API_KEY';
    }
    
Viewing 1 post (of 1 total)