Created
April 22, 2016 12:49
-
-
Save SirDarcanos/4726563e9f023b639e177bd1edc82f77 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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'); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment