WP_Customize_New_Menu_Section

Customize Menu Section Class.

Defined (1)

The class is defined in the following location(s).

/wp-includes/customize/class-wp-customize-new-menu-section.php  
  1. class WP_Customize_New_Menu_Section extends WP_Customize_Section { 
  2.  
  3. /** 
  4. * Control type. 
  5. * @since 4.3.0 
  6. * @access public 
  7. * @var string 
  8. */ 
  9. public $type = 'new_menu'; 
  10.  
  11. /** 
  12. * Render the section, and the controls that have been added to it. 
  13. * @since 4.3.0 
  14. * @access protected 
  15. */ 
  16. protected function render() { 
  17. ?> 
  18. <li id="accordion-section-<?php echo esc_attr( $this->id ); ?>" class="accordion-section-new-menu"> 
  19. <button type="button" class="button-secondary add-new-menu-item add-menu-toggle" aria-expanded="false"> 
  20. <?php echo esc_html( $this->title ); ?> 
  21. </button> 
  22. <ul class="new-menu-section-content"></ul> 
  23. </li> 
  24. <?php