transmitstudio
5/18/2016 - 5:56 PM

Roll back jQuery version in WordPress

Roll back jQuery version in WordPress

function modify_jquery() {
if (!is_admin()) {
    wp_deregister_script('jquery');
    wp_register_script('jquery', 'https://code.jquery.com/jquery-1.11.3.min.js');
    wp_enqueue_script('jquery');
}
}
add_action('init', 'modify_jquery');