Created
October 21, 2013 03:43
-
-
Save jamiemitchell/7078355 to your computer and use it in GitHub Desktop.
Remove scripts loading from header. Genesis
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