Remove a script using Jquery in WordPress

Solution:

Just copy and paste the following code to your functions.php and the script should be removed.


/* Remove unwanted plugin Javascript file */
function remove_eael_google_api_js() {
    wp_dequeue_script( 'eael-google-api');
    wp_deregister_script( 'eael-google-api');
}
add_action( 'wp_enqueue_scripts', 'remove_eael_google_api_js', 100);