-
-
Save freezvd/c710c101bea1eff8e348 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
<?php | |
/* Remove scripts loading from header | |
------------------------------------------------------------ */ | |
add_action('wp_enqueue_scripts', 'child_deregister_scripts'); | |
function child_deregister_scripts() { | |
wp_deregister_script( 'jquery' ); | |
wp_deregister_script( 'jquery-ui' ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment