Trying to integrate Google API abilities into my WordPress site using ACF
I have been trying to learn and figure out how to collect and display data from Google APIs like elevation, coordinates and air quality to be displayed in a read only custom field, but I am having a difficult time figuring out why things aren’t working. Using ACF Pro and ACF Extended alongside Elementor Pro. This is the code I have in my functions.php. I can’t figure out if there’s a step I’m missing or if this code is junk. Can anyone help me understand why it’s not working and possibly help me learn to write this correctly?