Created
December 13, 2016 17:23
-
-
Save rafaelmaeuer/8959ba7d607c4df3024d74751f4138ee to your computer and use it in GitHub Desktop.
Google API Key for Advanced Custom Fields (Wordpress)
From https://www.advancedcustomfields.com/resources/google-map/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
function my_acf_google_map_api( $api ){ | |
$api['key'] = 'xxx'; | |
return $api; | |
} | |
add_filter('acf/fields/google_map/api', 'my_acf_google_map_api'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment