WP_Customize_Manager::remove_setting( string $id )

In this article

Removes a customize setting.

Description

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

Parameters

$idstringrequired
Customize Setting ID.

Source

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

Changelog

VersionDescription
3.4.0Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.