unregister_widget_control
Alias of wp_unregister_widget_control().
Description
unregister_widget_control( (int|string) $id );
Parameters (1)
- 0. $id (int|string)
- Widget ID.
Usage
if ( !function_exists( 'unregister_widget_control' ) ) { require_once ABSPATH . WPINC . '/deprecated.php'; } // Widget ID. $id = null; // NOTICE! Understand what this does before running. $result = unregister_widget_control($id);
Defined (1)
The function is defined in the following location(s).
- /wp-includes/deprecated.php
- function unregister_widget_control($id) {
- _deprecated_function( __FUNCTION__, '2.8.0', 'wp_unregister_widget_control()' );
- return wp_unregister_widget_control($id);
- }