<?php | |
function jQuery3(){ | |
$date = date("dmy"); | |
if (!is_admin()){ | |
wp_deregister_script('jquery'); | |
wp_register_script('jquery', get_template_directory_uri()."/assets/js/jquery.min.js", false, $date); | |
wp_enqueue_script('jquery'); | |
} | |
} | |
add_action('wp_enqueue_scripts', 'jQuery3'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment