Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function jquery_cdn() {
- if (!is_admin()) {
- wp_deregister_script('jquery');
- wp_register_script('jquery', '//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.min.js', false, '1.9.1');
- wp_enqueue_script('jquery');
- }
- }
- add_action('init', 'jquery_cdn', 99);
Add Comment
Please, Sign In to add comment