Skip to content

Instantly share code, notes, and snippets.

@rosshanney
Created January 3, 2013 15:57
Show Gist options
  • Save rosshanney/4444469 to your computer and use it in GitHub Desktop.
Save rosshanney/4444469 to your computer and use it in GitHub Desktop.
Remove extra jQuery UI added by "TheThe Tabs and Accordions" plugin
<?php
/*
Plugin name: Remove extra jQuery UI added by "TheThe Tabs and Accordions"
*/
function gce_remove_extra_jquery_ui() {
wp_dequeue_script( 'jquery-ui' );
}
add_action( 'wp_print_scripts', 'gce_remove_extra_jquery_ui', 99 );
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment