]> scripts.mit.edu Git - autoinstalls/wordpress.git/blob - wp-includes/customize/class-wp-customize-new-menu-control.php
WordPress 4.4-scripts
[autoinstalls/wordpress.git] / wp-includes / customize / class-wp-customize-new-menu-control.php
1 <?php
2 /**
3  * Customize API: WP_Customize_New_Menu_Control class
4  *
5  * @package WordPress
6  * @subpackage Customize
7  * @since 4.4.0
8  */
9
10 /**
11  * Customize control class for new menus.
12  *
13  * @since 4.3.0
14  *
15  * @see WP_Customize_Control
16  */
17 class WP_Customize_New_Menu_Control extends WP_Customize_Control {
18
19         /**
20          * Control type.
21          *
22          * @since 4.3.0
23          * @access public
24          * @var string
25          */
26         public $type = 'new_menu';
27
28         /**
29          * Render the control's content.
30          *
31          * @since 4.3.0
32          * @access public
33          */
34         public function render_content() {
35                 ?>
36                 <button type="button" class="button button-primary" id="create-new-menu-submit"><?php _e( 'Create Menu' ); ?></button>
37                 <span class="spinner"></span>
38                 <?php
39         }
40 }