WP_Customize_Manager::render_section_templates
Renders JS templates for all registered section types.
Method of the class: WP_Customize_Manager{}
No Hooks.
Returns
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() WP Customize Manager::render section templates code WP 6.9
public function render_section_templates() {
foreach ( $this->registered_section_types as $section_type ) {
$section = new $section_type( $this, 'temp', array() );
$section->print_template();
}
}