wp_unregister_widget_control()
Remove control callback for widget.
No Hooks.
Return
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.7.1
function wp_unregister_widget_control( $id ) { wp_register_widget_control( $id, '', '' ); }