Enqueue script after Autoptimize aggregate
-
I am enqueuing the external Google Maps API with a callback to one of my JS scripts. The API is loading before the Autoptimize aggregate script and so it is failing to find the callback function. Is there a way to ensure the API script is added after? Or do I need to exclude the script with the callback and all of its dependencies? Thank you.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
The topic ‘Enqueue script after Autoptimize aggregate’ is closed to new replies.