WP_Customize_Manager::render_panel_templates()
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() WP Customize Manager::render panel templates code WP 6.7.2
public function render_panel_templates() { foreach ( $this->registered_panel_types as $panel_type ) { $panel = new $panel_type( $this, 'temp', array() ); $panel->print_template(); } }