WP_Customize_Section::print_template()
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().
Метод класса: WP_Customize_Section{}
Хуков нет.
Возвращает
null
. Ничего (null).
Использование
$WP_Customize_Section = new WP_Customize_Section(); $WP_Customize_Section->print_template();
Заметки
- Смотрите: WP_Customize_Manager::render_template()
Список изменений
С версии 4.3.0 | Введена. |
Код WP_Customize_Section::print_template() WP Customize Section::print template WP 6.5.2
<?php public function print_template() { ?> <script type="text/html" id="tmpl-customize-section-<?php echo $this->type; ?>"> <?php $this->render_template(); ?> </script> <?php }