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 }
Changelog
Version | Description |
---|---|
4.3.0 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/WP_Customize_Section/print_template