Uses
Uses | Description |
---|---|
wp-includes/class-wp-customize-section.php: WP_Customize_Section::render_template() | An Underscore (JS) template for rendering this section. |
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().
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 }
Version | Description |
---|---|
4.3.0 | Introduced. |
© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/classes/WP_Customize_Section/print_template