powerbuoy / sleek-google-maps
Adds a 'Google Maps API Key' setting to the admin.
v2.5.0
2024-04-18 11:14 UTC
Requires
- powerbuoy/sleek-settings: ^1.0.0
README
Adds a "Google Maps API Key" setting to the admin which, if not empty, adds the Google Maps API to the page with a googleMapsInit callback. Also sends the Google Maps Key to ACF so that ACF maps work.
Also adds a SLEEK_GOOGLE_MAPS_API_KEY JavaScript variable to the page.
Theme Support
N/A
Hooks
N/A
Functions
N/A
Classes
N/A