3

I need to dequeue some scripts but still have access to the vars passed via their wp_localize_script calls. Is there a way to do that?

3

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.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.