Remove control callback for widget.
$idint|stringrequired
function wp_unregister_widget_control( $id ) {
wp_register_widget_control( $id, '', '' );
}
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_unregister_widget_control