WordPress at a glance
function is not described

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.

Serves as an alias of wp_unregister_sidebar_widget().

No Hooks.

Return

````. Null. Nothing.

Usage

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

Notes

  • See: wp_unregister_sidebar_widget()

Changelog

Since 2.2.0 Introduced.
Deprecated Since 2.8.0 Use wp_unregister_sidebar_widget()

Code of unregister_sidebar_widget() WP 5.7

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