WordPress at a glance
function is not described

WP_Customize_Manager::remove_setting() public WP 3.4.0

Remove a customize setting.

Note that removing the setting doesn't destroy the WP_Customize_Setting 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_setting( $id );
$id(string) (required)
Customize Setting ID.

Changelog

Since 3.4.0 Introduced.

Code of WP_Customize_Manager::remove_setting() WP 5.7.2

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