WP_Customize_Manager::render_section_templates()publicWP 4.3.0

Renders JS templates for all registered section types.

Method of the class: WP_Customize_Manager{}

No Hooks.

Return

null. Nothing (null).

Usage

$WP_Customize_Manager = new WP_Customize_Manager();
$WP_Customize_Manager->render_section_templates();

Changelog

Since 4.3.0 Introduced.

WP_Customize_Manager::render_section_templates() code WP 6.5.2

public function render_section_templates() {
	foreach ( $this->registered_section_types as $section_type ) {
		$section = new $section_type( $this, 'temp', array() );
		$section->print_template();
	}
}