To load default jquery core file from CDN to WordPress, you need to simply copy and paste the following code in your theme’s functions.php file.

function replace_jquery() {
	if (!is_admin()) {
		wp_register_script('jquery', '', false, '1.12.4');
add_action('init', 'replace_jquery');

Have any doubt, then comment here!

Leave a Reply

Your email address will not be published. Required fields are marked *