WordPress at Your Fingertips
function is not described

WP_Customize_Manager::register_section_type() public WP 4.3.0

Register a customize section type.

Registered types are eligible to be rendered via JS and created dynamically.

{} 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->register_section_type( $section );
$section(string) (required)
Name of a custom section which is a subclass of WP_Customize_Section.

Notes

Changelog

Since 4.3.0 Introduced.

Code of WP_Customize_Manager::register_section_type() WP 5.8.1

public function register_section_type( $section ) {
	$this->registered_section_types[] = $section;
}