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

  1. if ( !function_exists( 'unregister_widget_control' ) ) { 
  2. require_once ABSPATH . WPINC . '/deprecated.php'; 
  3.  
  4. // Widget ID. 
  5. $id = null; 
  6.  
  7. // NOTICE! Understand what this does before running. 
  8. $result = unregister_widget_control($id); 
  9.  

Defined (1)

The function is defined in the following location(s).

/wp-includes/deprecated.php  
  1. function unregister_widget_control($id) { 
  2. _deprecated_function( __FUNCTION__, '2.8.0', 'wp_unregister_widget_control()' );