WordPress at Your Fingertips
function is not described

WP_Customize_Section::print_template() public WP 4.3.0

Render the section's JS template.

This function is only run for section types that have been registered with WP_Customize_Manager::register_section_type().

{} It's a method of the class: WP_Customize_Section{}

No Hooks.


null. Nothing.


$WP_Customize_Section = new WP_Customize_Section();


  • See: WP_Customize_Manager::render_template()

Code of WP_Customize_Section::print_template() WP 5.8.3

public function print_template() {
	<script type="text/html" id="tmpl-customize-section-<?php echo $this->type; ?>">
		<?php $this->render_template(); ?>