On this page
unregister_widget_control( int|string $id )
This function has been deprecated. Use wp_unregister_widget_control() instead.
Alias of wp_unregister_widget_control() .
Description
See also
Parameters
$idint|string Required-
Widget ID.
Source
File: wp-includes/deprecated.php. View all references
function unregister_widget_control($id) {
_deprecated_function( __FUNCTION__, '2.8.0', 'wp_unregister_widget_control()' );
return wp_unregister_widget_control($id);
}
Related
Uses
| Uses | Description |
|---|---|
| wp_unregister_widget_control() wp-includes/widgets.php | Remove control callback for widget. |
| _deprecated_function() wp-includes/functions.php | Marks a function as deprecated and inform when it has been used. |
Changelog
| Version | Description |
|---|---|
| 2.8.0 | Use wp_unregister_widget_control() |
| 2.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/unregister_widget_control