Removes control callback for widget.
Parameters
$idint|stringrequired- Widget ID.
Source
function wp_unregister_widget_control( $id ) {
wp_register_widget_control( $id, '', '' );
}
Changelog
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |
Removes control callback for widget.
$idint|stringrequiredfunction wp_unregister_widget_control( $id ) {
wp_register_widget_control( $id, '', '' );
}
| Version | Description |
|---|---|
| 2.2.0 | Introduced. |
User Contributed Notes
You must log in before being able to contribute a note or feedback.