3 * Customize API: WP_Customize_New_Menu_Section class
6 * @subpackage Customize
11 * Customize Menu Section Class
13 * Implements the new-menu-ui toggle button instead of a regular section.
17 * @see WP_Customize_Section
19 class WP_Customize_New_Menu_Section extends WP_Customize_Section {
28 public $type = 'new_menu';
31 * Render the section, and the controls that have been added to it.
36 protected function render() {
38 <li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="accordion-section-new-menu">
39 <button type="button" class="button-secondary add-new-menu-item add-menu-toggle" aria-expanded="false">
40 <?php echo esc_html( $this->title ); ?>
42 <ul class="new-menu-section-content"></ul>