Last active
June 10, 2021 13:53
-
-
Save jonbrockett/0d384c65be0bd234d2b133cb6ba11cb4 to your computer and use it in GitHub Desktop.
ACF Google Map API
This file contains hidden or 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
<?php | |
/** | |
* ACF Google Map API Key | |
*/ | |
function my_acf_init() { | |
acf_update_setting('google_api_key', ''); | |
} | |
add_action('acf/init', 'my_acf_init'); |
This file contains hidden or 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
/** Add ACF Google Map API Key */ | |
require_once( 'library/acf-googlemaps-api.php' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment