Dequeue script, but still use wp_localize_script to pass vars

I don’t think so, since localize output is tied to script’s print event. You will probably have to access that data and output it in some other way.

Leave a Comment