Check If a Script Has Been Loaded In WordPress
WordPress has a function which lets us detect if a specific script has been enqueued, registered, printed, or is in the queue to be printed. It can be very useful for avoiding conflicts with libraries which have been already loaded by other themes or plugins. wp_script_is( $handle, $list ); It accepts two parameters: $handle –