GoogleMaps won’t enqueue in plugin

I cannot get google maps to enqueue in my plugin. It is not showing in the html source at all.

This is working locally, but when I try and use on a Multisite platform it is not – I don’t know if this is relevant or not.

$gmaps = “//,drawing&key=”. $ApiKey;

wp_enqueue_script(‘myplugin_google_maps’, $gmaps, array(),”,true);

Am I doing anything wrong?


Read more here:: GoogleMaps won’t enqueue in plugin

Leave a Reply

Your email address will not be published. Required fields are marked *