Last active
November 3, 2019 09:28
-
-
Save ivo-ivanov/64a371ce98d2d027fe559436cfb070b0 to your computer and use it in GitHub Desktop.
Enable Google Maps API key for ACF #wordpress
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
//Enable Google API key for ACF | |
function my_acf_google_init() { | |
acf_update_setting('google_api_key', 'XXXXXXXXXXXXXXXXXXX'); | |
} | |
add_action('acf/init', 'my_acf_google_init'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment