Docs: Clarify in `WP_Customize_Manager::remove_*()` methods that removing a setting, panel, section, or control does not destroy the class instance or remove its filters.

Props dlh, fgiannar, jon81, westonruter.
Fixes #48747.

git-svn-id: https://develop.svn.wordpress.org/trunk@47367 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
Sergey Biryukov 2020-02-25 17:48:40 +00:00
parent a6b80a326a
commit f1124fc1cb
1 changed files with 8 additions and 0 deletions

View File

@ -3799,6 +3799,8 @@ final class WP_Customize_Manager {
/**
* Remove a customize setting.
*
* Note that removing the setting doesn't destroy the WP_Customize_Setting instance or remove its filters.
*
* @since 3.4.0
*
* @param string $id Customize Setting ID.
@ -3855,6 +3857,8 @@ final class WP_Customize_Manager {
/**
* Remove a customize panel.
*
* Note that removing the panel doesn't destroy the WP_Customize_Panel instance or remove its filters.
*
* @since 4.0.0
*
* @param string $id Panel ID to remove.
@ -3951,6 +3955,8 @@ final class WP_Customize_Manager {
/**
* Remove a customize section.
*
* Note that removing the section doesn't destroy the WP_Customize_Section instance or remove its filters.
*
* @since 3.4.0
*
* @param string $id Section ID.
@ -4026,6 +4032,8 @@ final class WP_Customize_Manager {
/**
* Remove a customize control.
*
* Note that removing the control doesn't destroy the WP_Customize_Control instance or remove its filters.
*
* @since 3.4.0
*
* @param string $id ID of the control.