WP_Customize_Manager::register_section_type( string $section )

Registers a customize section type.


Description

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

Top ↑

See also


Top ↑

Parameters

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

Top ↑

Source

File: wp-includes/class-wp-customize-manager.php. View all references

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


Top ↑

Changelog

Changelog
Version Description
4.3.0 Introduced.

Top ↑

User Contributed Notes

You must log in before being able to contribute a note or feedback.