WordPress at Your Fingertips
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 5.8

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