This function has been deprecated. Use wp_unregister_widget_control() instead.

unregister_widget_control( int|string $id )

Alias of wp_unregister_widget_control().


Description

See also


Parameters

$id

(int|string) (Required) Widget ID.


Source

File: wp-includes/deprecated.php

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


Changelog

Changelog
Version Description
WP-2.8.0 Use wp_unregister_widget_control()
WP-2.2.0 Introduced. This function has been deprecated. Use wp_unregister_widget_control() instead.