WP_Customize_Manager::render_section_templates() WordPress Method
The WP_Customize_Manager::render_section_templates() method is used to render the templates for each registered section in the Customizer. This method is called internally by the Customizer when it is initializing the sections.
WP_Customize_Manager::render_section_templates() #
Renders JS templates for all registered section types.
Source
File: wp-includes/class-wp-customize-manager.php
public function render_section_templates() {
foreach ( $this->registered_section_types as $section_type ) {
$section = new $section_type( $this, 'temp', array() );
$section->print_template();
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |