WordPress at a glance
function is not described

WP_Customize_Manager::remove_control() public WP 3.4.0

Remove a customize control.

Note that removing the control doesn't destroy the WP_Customize_Control instance or remove its filters.

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->remove_control( $id );
$id(string) (required)
ID of the control.

Changelog

Since 3.4.0 Introduced.

Code of WP_Customize_Manager::remove_control() WP 5.7.2

<?php
public function remove_control( $id ) {
	unset( $this->controls[ $id ] );
}