wp_unregister_widget_control( int|string $id )

Remove control callback for widget.


Parameters

$id

(Required) Widget ID.


Source

File: wp-includes/widgets.php

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


Changelog

Changelog
Version Description
WP-2.2.0 Introduced.