Created
November 13, 2013 16:02
-
-
Save ckpicker/7451531 to your computer and use it in GitHub Desktop.
Community Events 3.2 // Disable Theme-specific jQuery UI
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
add_action( 'wp_enqueue_scripts', 'disable_theme_jquery_ui', 999); | |
function disable_theme_jquery_ui() { | |
if (tribe_is_community_edit_event_page() || tribe_is_community_my_events_page()) { | |
wp_dequeue_script( 'jquery-ui-style' ); | |
wp_deregister_script( 'jquery-ui-style' ); | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment