WordPress at a glance
function is not described

unregister_widget_control() 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_widget_control() instead.

Alias of wp_unregister_widget_control().

No Hooks.

Return

````. Null. Nothing.

Usage

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

Notes

  • See: wp_unregister_widget_control()

Changelog

Since 2.2.0 Introduced.
Deprecated Since 2.8.0 Use wp_unregister_widget_control()

Code of unregister_widget_control() WP 5.7

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