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();
		}
	}

Top ↑

Changelog

Changelog
VersionDescription
4.3.0Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.

Show More