Revision: 34679
Initial Code
Initial URL
Initial Description
Initial Title
Initial Tags
Initial Language
at October 27, 2010 03:39 by athanassiadis
Initial Code
//Remove WP standard Widgets add_action( 'widgets_init', 'my_unregister_widgets' ); function my_unregister_widgets() { unregister_widget( 'WP_Widget_Pages' ); unregister_widget( 'WP_Widget_Calendar' ); unregister_widget( 'WP_Widget_Archives' ); unregister_widget( 'WP_Widget_Links' ); unregister_widget( 'WP_Widget_Categories' ); unregister_widget( 'WP_Widget_Recent_Posts' ); unregister_widget( 'WP_Widget_Search' ); unregister_widget( 'WP_Widget_Tag_Cloud' ); unregister_widget( 'WP_Widget_RSS' ); unregister_widget( 'WP_Widget_Meta' ); unregister_widget( 'WP_Widget_Recent_Comments' ); unregister_widget( 'WP_Nav_Menu_Widget' ); }
Initial URL
Initial Description
Initial Title
Remove WP standard widgets
Initial Tags
textmate, wordpress
Initial Language
PHP