On this page
wp_unregister_widget_control( int|string $id )
Remove control callback for widget.
Parameters
$idint|string Required-
Widget ID.
Source
File: wp-includes/widgets.php. View all references
function wp_unregister_widget_control( $id ) {
wp_register_widget_control( $id, '', '' );
}
Related
Uses
| Uses | Description |
|---|---|
| wp_register_widget_control() wp-includes/widgets.php | Registers widget control callback for customizing options. |
Used By
| Used By | Description |
|---|---|
| unregister_widget_control() wp-includes/deprecated.php | Alias of wp_unregister_widget_control() . |
| wp_unregister_sidebar_widget() wp-includes/widgets.php | Remove widget from sidebar. |
Changelog
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_unregister_widget_control