Created
December 26, 2018 09:22
-
-
Save itsKnight847/9511879d7457ce1b546b97d6e6ee1278 to your computer and use it in GitHub Desktop.
acf init google maps in admin
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
function my_acf_init() { | |
acf_update_setting('google_api_key', 'api key here'); | |
} | |
add_action('acf/init', 'my_acf_init'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment