Created
February 24, 2012 03:21
-
-
Save jkudish/1897080 to your computer and use it in GitHub Desktop.
remove tribe events scripts
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 | |
add_action('wp_enqueue_scripts', 'tribe_remove_javascript'); | |
function tribe_remove_javascript() { | |
wp_dequeue_script('sp-events-pjax'); | |
wp_dequeue_script('sp-events-calendar-script'); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment