WP_Customize_Manager::render_panel_templates()publicWP 4.3.0

Renders JS templates for all registered panel 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_panel_templates();

Changelog

Since 4.3.0 Introduced.

WP_Customize_Manager::render_panel_templates() code WP 6.5.2

public function render_panel_templates() {
	foreach ( $this->registered_panel_types as $panel_type ) {
		$panel = new $panel_type( $this, 'temp', array() );
		$panel->print_template();
	}
}