W3cubDocs

/WordPress

WP_Customize_Manager::register_section_type( string $section )

Register a customize section type.

Description

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

See also

Parameters

$section

(string) (Required) Name of a custom section which is a subclass of WP_Customize_Section.

Source

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

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

Changelog

Version Description
4.3.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/wp_customize_manager/register_section_type