Localizes a script, but only if script has already been added. Can also be used to include arbitrary Javascript data in a page.

learn more… | top users | synonyms

1
vote
1answer
121 views

Find out if enqueued script uses wp_localize_script?

Is there a function that can check if an enqueued script has a call to wp_localize_script attached to it?
2
votes
3answers
514 views

wp_localize_script $handle

Can anyone tell me what the "$handle" ( first parameter ) of wp_localize_script is normally used for. Thanks. P.s.: I have no idea why but stackexchange is telling me this question dosen't meet ...