WordPress at a glance
function is not described

wp_unregister_widget_control() WP 2.2.0

Remove control callback for widget.

No Hooks.

Return

Null. Nothing.

Usage

wp_unregister_widget_control( $id );
$id(int/string) (required)
Widget ID.

Changelog

Since 2.2.0 Introduced.

Code of wp unregister widget control: wp-includes/widgets.php WP 5.2.2

<?php
function wp_unregister_widget_control( $id ) {
	wp_register_widget_control( $id, '', '' );
}