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 (null).

Usage

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

Notes

Changelog

Since 2.2.0 Introduced.
Deprecated since 2.8.0 Use wp_unregister_widget_control()

unregister_widget_control() code WP 6.5.2

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