unregister_sidebar_widget()WP 2.2.0

Deprecated from version 2.8.0. It is no longer supported and can be removed in future releases. Use wp_unregister_sidebar_widget() instead.

No Hooks.

Return

null. Nothing.

Usage

unregister_sidebar_widget( $id );
$id(int|string) (required)
Widget ID.

Notes

Changelog

Since 2.2.0 Introduced.
Deprecated Since 2.8.0 Use wp_unregister_sidebar_widget()

Code of unregister_sidebar_widget() WP 6.0

function unregister_sidebar_widget($id) {
	_deprecated_function( __FUNCTION__, '2.8.0', 'wp_unregister_sidebar_widget()' );
	return wp_unregister_sidebar_widget($id);
}