+ <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
+ }
+
+ /**
+ * An Underscore (JS) template for rendering this panel's container.
+ *
+ * Class variables for this panel class are available in the `data` JS object;
+ * export custom variables by overriding WP_Customize_Panel::json().
+ *
+ * @see WP_Customize_Panel::print_template()
+ *
+ * @since 4.3.0
+ * @access protected
+ */
+ protected function render_template() {
+ ?>
+ <li id="accordion-panel-{{ data.id }}" class="accordion-section control-section control-panel control-panel-{{ data.type }}">