WP_Customize_Manager::remove_section( string $id )

Removes a customize section.


Description

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


Top ↑

Parameters

$id

(string) (Required) Section ID.


Top ↑

Source

File: wp-includes/class-wp-customize-manager.php

	public function remove_section( $id ) {
		unset( $this->sections[ $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.