WP_Customize_Manager::remove_setting( string $id )

Removes a customize setting.


Description

Note that removing the setting doesn’t destroy the WP_Customize_Setting instance or remove its filters.


Parameters

$id

(Required) Customize Setting ID.


Source

File: wp-includes/class-wp-customize-manager.php

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

Changelog

Changelog
Version Description
3.4.0 Introduced.