WP_Customize_Section::print_template() WordPress Method
The WP_Customize_Section::print_template() method is used to print a template for a customizer section. This template can be used to display the section's content in the customizer interface.
WP_Customize_Section::print_template() #
Render the section’s JS template.
Description
This function is only run for section types that have been registered with WP_Customize_Manager::register_section_type().
See also
Source
File: wp-includes/class-wp-customize-section.php
public function print_template() { ?> <script type="text/html" id="tmpl-customize-section-<?php echo $this->type; ?>"> <?php $this->render_template(); ?> </script> <?php }
Expand full source codeCollapse full source codeView on TracView on GitHub
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |