wp_unregister_widget_control()
Removes control callback for widget.
No Hooks.
Returns
null. Nothing (null).
Usage
wp_unregister_widget_control( $id );
- $id(int|string) (required)
- Widget ID.
Changelog
| Since 2.2.0 | Introduced. |
wp_unregister_widget_control() wp unregister widget control code WP 6.9
function wp_unregister_widget_control( $id ) {
wp_register_widget_control( $id, '', '' );
}