unregister_widget_control()WP 2.2.0

Deprecated since 2.8.0. It is no longer supported and may be removed in future releases. Use wp_unregister_widget_control() instead.

Alias of wp_unregister_widget_control().

No Hooks.

Returns

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.9

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