Makes a previously available widget unavailable. This is most commonly used within a theme's functions.php to disable a widget that does not work well in that theme's sidebar.
<?php unregister_sidebar_widget( $id ); ?>
unregister_sidebar_widget() was located in wp-includes/widgets.php
. Upon deprecation it was moved to wp-includes/deprecated.php
.
Widgets: is_active_widget(), the_widget(), register_widget(), unregister_widget(), wp_register_widget_control(), wp_unregister_widget_control(), wp_convert_widget_settings(), wp_get_widget_defaults(), wp_widget_description()