管理画面などでGooglemapを使うときにAPIキーを登録する必要がある。
function my_acf_google_map_api( $api ){
$api[‘key’] = ‘Your_Googlemap_API_KEY_IS_HERE’;
return $api;
}
add_filter(‘acf/fields/google_map/api’, ‘my_acf_google_map_api’);
管理画面などでGooglemapを使うときにAPIキーを登録する必要がある。
function my_acf_google_map_api( $api ){
$api[‘key’] = ‘Your_Googlemap_API_KEY_IS_HERE’;
return $api;
}
add_filter(‘acf/fields/google_map/api’, ‘my_acf_google_map_api’);