Google Maps not working in ACF Admin

Is your Google Maps not working in ACF? All you may need is to register your Google API key to use with Advanced Custom Fields.

Add Google API key to ACF

To add your Google API key to ACF, you need to generate one first through Google.

Once you’ve got your key, you need to open your WordPress theme’s functions.php file and add in the code below:

function add_custom_api_key() { 
     acf_update_setting( 'google_api_key', 'YOUR-API-KEY' );
}
add_action( 'acf/init', 'add_custom_api_key' );