WP_Customize_Manager::render_panel_templates() WordPress Method
The WP_Customize_Manager::render_panel_templates() method is used to render the templates for all registered panels. This includes the panel-specific template files as well as the global template file.
WP_Customize_Manager::render_panel_templates() #
Renders JS templates for all registered panel types.
Source
File: wp-includes/class-wp-customize-manager.php
public function render_panel_templates() {
foreach ( $this->registered_panel_types as $panel_type ) {
$panel = new $panel_type( $this, 'temp', array() );
$panel->print_template();
}
}
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
| Version | Description |
|---|---|
| 4.3.0 | Introduced. |