- protected function render() {
- $classes = 'accordion-section control-section control-section-' . $this->type;
- ?>
- <li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="<?php echo esc_attr( $classes ); ?>">
- <h3 class="accordion-section-title" tabindex="0">
- <?php echo esc_html( $this->title ); ?>
- <span class="screen-reader-text"><?php _e( 'Press return or enter to expand' ); ?></span>
- </h3>
- <ul class="accordion-section-content">
- <?php if ( ! empty( $this->description ) ) : ?>
- <li class="customize-section-description-container">
- <p class="description customize-section-description"><?php echo $this->description; ?></p>
- </li>
- <?php endif; ?>
- </ul>
- </li>
- <?php
- }
-}
-
-/**
- * Customizer section representing widget area (sidebar).
- *
- * @package WordPress
- * @subpackage Customize
- *
- * @since 4.1.0
- *
- * @see WP_Customize_Section
- */
-class WP_Customize_Sidebar_Section extends WP_Customize_Section {