WP_Customize_Manager::render_section_templates() WordPress Method

The WP_Customize_Manager::render_section_templates() method is used to render the templates for each registered section in the Customizer. This method is called internally by the Customizer when it is initializing the sections.

WP_Customize_Manager::render_section_templates() #

Renders JS templates for all registered section types.


Source

File: wp-includes/class-wp-customize-manager.php

	public function render_section_templates() {
		foreach ( $this->registered_section_types as $section_type ) {
			$section = new $section_type( $this, 'temp', array() );
			$section->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