Created
May 22, 2018 06:50
-
-
Save danielstrelec/539636fa56f56c3f4ed78aa2f6b158ac 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
| // odstranění jquery migrate | |
| function isa_remove_jquery_migrate( &$scripts) { | |
| if(!is_admin()) { | |
| $scripts->remove( 'jquery'); | |
| $scripts->add( 'jquery', false, array( 'jquery-core' ), '1.12.4' ); | |
| } | |
| } | |
| add_filter( 'wp_default_scripts', 'isa_remove_jquery_migrate' ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment