wp_unregister_widget_control()的别名。
原型
unregister_widget_control( int|string $id )
参数
$id
(int|string)
(Required)
小部件ID。
源文件
路径:wp-includes/deprecated.php
<?php
...
function unregister_widget_control($id) {
_deprecated_function( __FUNCTION__, '2.8.0', 'wp_unregister_widget_control()' );
return wp_unregister_widget_control($id);
}
...
?>
其他
英文文档:https://developer.wordpress.org/reference/functions/unregister_widget_control/