WP_Customize_New_Menu_Control

Customize control class for new menus.

Defined (1)

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

/wp-includes/customize/class-wp-customize-new-menu-control.php  
  1. class WP_Customize_New_Menu_Control extends WP_Customize_Control { 
  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 control's content. 
  13. * @since 4.3.0 
  14. * @access public 
  15. */ 
  16. public function render_content() { 
  17. ?> 
  18. <button type="button" class="button button-primary" id="create-new-menu-submit"><?php _e( 'Create Menu' ); ?></button> 
  19. <span class="spinner"></span> 
  20. <?php