Skip to content

Instantly share code, notes, and snippets.

@ckpicker
Created October 4, 2013 18:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ckpicker/6830275 to your computer and use it in GitHub Desktop.
Save ckpicker/6830275 to your computer and use it in GitHub Desktop.
Dequeue Business Connections 'Chosen' CSS on Community Events Pages
add_action( 'wp_print_styles', 'disable_business_directory_dropdown_css', 999);
function disable_business_directory_dropdown_css() {
if (tribe_is_community_edit_event_page() || tribe_is_community_my_events_page()) {
wp_dequeue_style( 'connections-chosen' );
wp_deregister_style( 'connections-chosen' );
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment