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.


Top ↑

Parameters

$id string Required
Customize Setting ID.

Top ↑

Source

File: wp-includes/class-wp-customize-manager.php. View all references

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

Top ↑

Changelog

Changelog
Version Description
3.4.0 Introduced.

Top ↑

User Contributed Notes

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