Remove jQuery or Any Script from WordPress

Sometimes you may need newer version of jQuery to run your custom theme or some plugins. In that situations you may want to remove WordPress core jQuery to load your own version of jQuery. To remove WordPress Core jQuery just do this: [cc lang="php"] wp_deregister_script('jquery'); [/cc]Removing and replacing with new jQuery for whole website is not a good idea, it may cause some script to stop functioning in admin area. To avoid removing jQuery in admin area use code below:[cc lang="php"] if ( !is_admin() ) { wp_deregister_script('jquery'); } [/cc]
    New question is currently disabled!