wp_unregister_widget_control( int|string $id )
Remove control callback for widget.
Parameters
- $id
-
(int|string) (Required) Widget ID.
Source
File: wp-includes/widgets.php
function wp_unregister_widget_control( $id ) { wp_register_widget_control( $id, '', '' ); }
Changelog
Version | Description |
---|---|
2.2.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_unregister_widget_control