__________________________________________________________ https://wordpress.stackexchange.com/questions/12448/how-to-replace-regular-jquery-calls-with-cdn-calls-from-google/12450 Notice that I'm still using WordPress' dependency management system. Also, sets HTTPS vs HTTP using is_ssl() to avoid mixed content errors, and lets WordPress dictate version number. //// REPLACE JQUERY WITH THE GOOGLE API version +++ get local wp version add_action( 'init', function(){ //Only act if is admin if ( ! is_admin()) { //set protocol dynamically if( is_ssl() ){ $protocol = 'https'; }else { $protocol = 'http'; } /** @var WP_Scripts $wp_scripts */ global $wp_scripts; ...