GC_Customize_Panel::print_template()

最后更新于:2021-11-27 07:03:33

GC_Customize_Panel::print_template()

Render the panel’s JS templates.

源文件

文件: gc-includes/class-gc-customize-panel.php

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