Last active
June 7, 2018 21:18
-
-
Save DreamerKlim/8c3b7e95aa7d7120003b187c2faf84b4 to your computer and use it in GitHub Desktop.
This file contains 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 my_scripts_method() { | |
// отменяем зарегистрированный jQuery | |
wp_deregister_script( 'jquery' ); | |
wp_register_script( 'jquery', '//ajax.googleapis.com/ajax/libs/jquery/1/jquery.min.js', false, null, true ); | |
wp_enqueue_script( 'jquery' ); | |
} | |
add_action( 'wp_enqueue_scripts', 'my_scripts_method' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment