Include third party Javascript library which is not included in WordPress

You need to use wp_script_is in order to check if the library you are willing to use has already been included by another plugin. As you can see the handle is important, if you change it to whatEverIWant.js, it will not recognize the library.

Leave a Comment