WordPress at a glance
function is not described

WP_Customize_Manager::remove_section() public WP 3.4.0

Remove a customize section.

Note that removing the section doesn't destroy the WP_Customize_Section instance or remove its filters.

{} It's a method of the class: WP_Customize_Manager{}

No Hooks.

Return

null. Nothing.

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->remove_section( $id );
$id(string) (required)
Section ID.

Changelog

Since 3.4.0 Introduced.

Code of WP_Customize_Manager::remove_section() WP 5.7.2

<?php
public function remove_section( $id ) {
	unset( $this->sections[ $id ] );
}