3 * Customize API: WP_Customize_Nav_Menu_Name_Control class
6 * @subpackage Customize
11 * Customize control to represent the name field for a given menu.
15 * @see WP_Customize_Control
17 class WP_Customize_Nav_Menu_Name_Control extends WP_Customize_Control {
20 * Type of control, used by JS.
26 public $type = 'nav_menu_name';
29 * No-op since we're using JS template.
34 protected function render_content() {}
37 * Render the Underscore template for this control.
42 protected function content_template() {
45 <# if ( data.label ) { #>
46 <span class="customize-control-title screen-reader-text">{{ data.label }}</span>
48 <input type="text" class="menu-name-field live-update-section-title" />