WP_Customize_Manager::remove_section()
Removes a customize section.
Note that removing the section doesn't destroy the WP_Customize_Section instance or remove its filters.
Метод класса: WP_Customize_Manager{}
Хуков нет.
Возвращает
null
. Ничего.
Использование
$WP_Customize_Manager = new WP_Customize_Manager(); $WP_Customize_Manager->remove_section( $id );
- $id(строка) (обязательный)
- Section ID.
Список изменений
С версии 3.4.0 | Введена. |
Код WP_Customize_Manager::remove_section() WP Customize Manager::remove section WP 6.2.2
public function remove_section( $id ) { unset( $this->sections[ $id ] ); }