PluginProbe ʕ •ᴥ•ʔ
Shortcodes and extra features for Phlox theme / 2.17.21
Shortcodes and extra features for Phlox theme v2.17.21
2.17.21 2.17.20 trunk 1.0.0 1.0.1 1.0.2 1.0.3 1.0.6 1.0.9 1.1.0 1.3.0 1.3.1 1.3.10 1.3.14 1.3.2 1.3.3 1.3.6 1.4.0 1.4.1 1.4.2 1.5.0 1.5.2 1.6.0 1.6.2 1.6.4 1.7.0 1.7.2 2.10.0 2.10.1 2.10.3 2.10.5 2.10.7 2.10.8 2.10.9 2.11.0 2.11.1 2.11.2 2.12.0 2.14.0 2.15.0 2.15.2 2.15.4 2.15.5 2.15.6 2.15.7 2.15.8 2.15.9 2.16.0 2.16.1 2.16.2 2.16.3 2.16.4 2.17.0 2.17.1 2.17.12 2.17.13 2.17.14 2.17.15 2.17.16 2.17.2 2.17.3 2.17.4 2.17.5 2.17.6 2.17.8 2.17.9 2.4.12 2.4.13 2.4.14 2.4.16 2.4.18 2.4.19 2.4.9 2.5.0 2.5.1 2.5.10 2.5.11 2.5.12 2.5.13 2.5.14 2.5.15 2.5.16 2.5.17 2.5.19 2.5.2 2.5.20 2.5.3 2.5.7 2.5.8 2.5.9 2.6.0 2.6.1 2.6.10 2.6.12 2.6.13 2.6.14 2.6.15 2.6.16 2.6.17 2.6.19 2.6.2 2.6.20 2.6.4 2.6.5 2.6.7 2.7.0 2.7.1 2.7.10 2.7.11 2.7.12 2.7.13 2.7.14 2.7.2 2.7.3 2.7.4 2.7.5 2.7.6 2.7.7 2.7.8 2.7.9 2.8.0 2.8.1 2.8.2 2.8.3 2.8.4 2.8.5 2.8.6 2.8.7 2.8.9 2.9.0 2.9.12 2.9.14 2.9.15 2.9.16 2.9.17 2.9.18 2.9.19 2.9.2 2.9.20 2.9.21 2.9.22 2.9.3 2.9.4 2.9.5 2.9.6 2.9.7 2.9.8
auxin-elements / includes / classes / class-auxin-walker-nav-menu-back.php
auxin-elements / includes / classes Last commit date
class-auxels-admin-assets.php 5 months ago class-auxels-archive-menu-links.php 5 months ago class-auxels-envato-elements.php 5 months ago class-auxels-import-parser.php 4 years ago class-auxels-import.php 3 years ago class-auxels-search-post-type.php 5 months ago class-auxels-wc-attribute-nav-menu.php 5 months ago class-auxin-admin-dashboard.php 5 months ago class-auxin-demo-importer.php 6 days ago class-auxin-dependency-sorting.php 4 years ago class-auxin-import.php 5 months ago class-auxin-install.php 5 months ago class-auxin-master-nav-menu-admin.php 5 months ago class-auxin-page-template.php 5 months ago class-auxin-permalink.php 5 months ago class-auxin-plugin-requirements.php 3 years ago class-auxin-post-type-base.php 5 months ago class-auxin-svg-support-allowedattributes.php 7 years ago class-auxin-svg-support-allowedtags.php 7 years ago class-auxin-svg-support.php 1 year ago class-auxin-walker-nav-menu-back.php 5 months ago class-auxin-welcome-sections.php 1 year ago class-auxin-welcome.php 2 months ago class-auxin-whitelabel.php 4 years ago class-auxin-widget-indie.php 5 months ago class-auxin-widget-shortcode-map.php 5 months ago class-auxin-widget.php 5 months ago
class-auxin-walker-nav-menu-back.php
399 lines
1 <?php
2 /**
3 * Create HTML list of custom nav menu input items.
4 *
5 *
6 * @package Auxin
7 * @license LICENSE.txt
8 * @author averta
9 * @link http://phlox.pro/
10 * @copyright (c) 2010-2026 averta
11 */
12 class Auxin_Walker_Nav_Menu_Back extends Walker_Nav_Menu {
13
14 /**
15 * List of custom meta fields for menu items
16 *
17 * @var array
18 */
19 protected $menu_item_fields;
20
21
22 /**
23 * Starts the list before the elements are added.
24 *
25 * @see Walker_Nav_Menu::start_lvl()
26 *
27 * @since 3.0.0
28 *
29 * @param string $output Passed by reference.
30 * @param int $depth Depth of menu item. Used for padding.
31 * @param array $args Not used.
32 */
33 public function start_lvl( &$output, $depth = 0, $args = array() ) {}
34
35
36 /**
37 * Ends the list of after the elements are added.
38 *
39 * @see Walker_Nav_Menu::end_lvl()
40 *
41 * @since 3.0.0
42 *
43 * @param string $output Passed by reference.
44 * @param int $depth Depth of menu item. Used for padding.
45 * @param array $args Not used.
46 */
47 public function end_lvl( &$output, $depth = 0, $args = array() ) {}
48
49
50 /**
51 * Start the element output.
52 *
53 * @see Walker_Nav_Menu::start_el()
54 * @since 3.0.0
55 *
56 * @global int $_wp_nav_menu_max_depth
57 *
58 * @param string $output Passed by reference. Used to append additional content.
59 * @param object $item Menu item data object.
60 * @param int $depth Depth of menu item. Used for padding.
61 * @param array $args Not used.
62 * @param int $id Not used.
63 */
64 public function start_el( &$output, $item, $depth = 0, $args = array(), $id = 0 ) {
65
66 $this->menu_item_fields = Auxin_Master_Nav_Menu::get_instance()->menu_item_fields; //@Edit
67
68 global $_wp_nav_menu_max_depth;
69 $_wp_nav_menu_max_depth = $depth > $_wp_nav_menu_max_depth ? $depth : $_wp_nav_menu_max_depth;
70
71 ob_start();
72 $item_id = esc_attr( $item->ID );
73 $removed_args = array(
74 'action',
75 'customlink-tab',
76 'edit-menu-item',
77 'menu-item',
78 'page-tab',
79 '_wpnonce',
80 );
81
82 $original_title = '';
83 if ( 'taxonomy' == $item->type ) {
84 $original_title = get_term_field( 'name', $item->object_id, $item->object, 'raw' );
85 if ( is_wp_error( $original_title ) )
86 $original_title = false;
87 } elseif ( 'post_type' == $item->type ) {
88 $original_object = get_post( $item->object_id );
89 $original_title = get_the_title( $original_object->ID );
90 }
91
92 $classes = array(
93 'menu-item menu-item-depth-' . $depth,
94 'menu-item-' . esc_attr( $item->object ),
95 'menu-item-edit-' . ( ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? 'active' : 'inactive'),
96 );
97
98 $title = $item->title;
99
100 if ( ! empty( $item->_invalid ) ) {
101 $classes[] = 'menu-item-invalid';
102 /* translators: %s: title of menu item which is invalid */
103 $title = sprintf( __( '%s (Invalid)', 'auxin-elements' ), $item->title );
104 } elseif ( isset( $item->post_status ) && 'draft' == $item->post_status ) {
105 $classes[] = 'pending';
106 /* translators: %s: title of menu item in draft status */
107 $title = sprintf( __('%s (Pending)', 'auxin-elements'), $item->title );
108 }
109
110 $title = ( ! isset( $item->label ) || '' == $item->label ) ? $title : $item->label;
111
112 $submenu_text = '';
113 if ( 0 == $depth )
114 $submenu_text = 'display: none;';
115
116 ?>
117 <li id="menu-item-<?php echo esc_attr( $item_id ); ?>" class="<?php echo esc_attr( implode(' ', $classes ) ); ?>">
118 <div class="menu-item-bar">
119 <div class="menu-item-handle">
120 <span class="item-title">
121 <span class="menu-item-title"><?php echo esc_html( $title ); ?></span>
122 <span class="is-submenu" style="<?php echo esc_attr( $submenu_text ); ?>"><?php esc_html_e( 'sub item', 'auxin-elements' ); ?></span>
123 </span>
124 <span class="item-controls">
125 <span class="item-type"><?php echo esc_html( $item->type_label ); ?></span>
126
127 <span class="item-type aux-mm-mega-badge"><?php esc_html_e( 'Mega' , 'auxin-elements' ); //@Edit ?></span>
128 <span class="item-type aux-mm-col-badge" ><?php esc_html_e( 'Column', 'auxin-elements' ); //@Edit ?></span>
129
130 <span class="item-order hide-if-js">
131 <a href="<?php
132 echo wp_nonce_url(
133 add_query_arg(
134 array(
135 'action' => 'move-up-menu-item',
136 'menu-item' => $item_id,
137 ),
138 remove_query_arg($removed_args, admin_url( 'nav-menus.php' ) )
139 ),
140 'move-menu_item'
141 );
142 ?>" class="item-move-up"><abbr title="<?php esc_attr_e('Move up', 'auxin-elements'); ?>">&#8593;</abbr></a>
143 |
144 <a href="<?php
145 echo wp_nonce_url(
146 add_query_arg(
147 array(
148 'action' => 'move-down-menu-item',
149 'menu-item' => $item_id,
150 ),
151 remove_query_arg($removed_args, admin_url( 'nav-menus.php' ) )
152 ),
153 'move-menu_item'
154 );
155 ?>" class="item-move-down"><abbr title="<?php esc_attr_e('Move down', 'auxin-elements'); ?>">&#8595;</abbr></a>
156 </span>
157 <a class="item-edit" id="edit-<?php echo esc_attr( $item_id ); ?>" title="<?php esc_attr_e('Edit Menu Item', 'auxin-elements'); ?>" href="<?php
158 echo ( isset( $_GET['edit-menu-item'] ) && $item_id == $_GET['edit-menu-item'] ) ? esc_url( admin_url( 'nav-menus.php' ) ) : esc_url( add_query_arg( 'edit-menu-item', $item_id, remove_query_arg( $removed_args, admin_url( 'nav-menus.php#menu-item-settings-' . $item_id ) ) ) );
159 ?>"><span class="screen-reader-text"><?php esc_html_e( 'Edit Menu Item', 'auxin-elements' ); ?></span></a>
160 </span>
161 </div>
162 </div>
163
164 <div class="menu-item-settings wp-clearfix" id="menu-item-settings-<?php echo esc_attr( $item_id ); ?>">
165 <?php if ( 'custom' == $item->type ) : ?>
166 <p class="field-url `ption description-wide">
167 <label for="edit-menu-item-url-<?php echo esc_attr( $item_id ); ?>">
168 <?php esc_html_e( 'URL', 'auxin-elements' ); ?><br />
169 <input type="text" id="edit-menu-item-url-<?php echo esc_attr( $item_id ); ?>" class="widefat code edit-menu-item-url" name="menu-item-url[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item->url ); ?>" />
170 </label>
171 </p>
172 <?php endif; ?>
173 <p class="description description-wide">
174 <label for="edit-menu-item-title-<?php echo esc_attr( $item_id ); ?>">
175 <?php esc_html_e( 'Navigation Label', 'auxin-elements' ); ?><br />
176 <input type="text" id="edit-menu-item-title-<?php echo esc_attr( $item_id ); ?>" class="widefat edit-menu-item-title" name="menu-item-title[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item->title ); ?>" />
177 </label>
178 </p>
179 <p class="field-title-attribute description description-wide">
180 <label for="edit-menu-item-attr-title-<?php echo esc_attr( $item_id ); ?>">
181 <?php esc_html_e( 'Title Attribute', 'auxin-elements' ); ?><br />
182 <input type="text" id="edit-menu-item-attr-title-<?php echo esc_attr( $item_id ); ?>" class="widefat edit-menu-item-attr-title" name="menu-item-attr-title[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item->post_excerpt ); ?>" />
183 </label>
184 </p>
185 <p class="field-link-target description">
186 <label for="edit-menu-item-target-<?php echo esc_attr( $item_id ); ?>">
187 <input type="checkbox" id="edit-menu-item-target-<?php echo esc_attr( $item_id ); ?>" value="_blank" name="menu-item-target[<?php echo esc_attr( $item_id ); ?>]"<?php checked( $item->target, '_blank' ); ?> />
188 <?php esc_html_e( 'Open link in a new window/tab', 'auxin-elements' ); ?>
189 </label>
190 </p>
191 <p class="field-css-classes description description-thin">
192 <label for="edit-menu-item-classes-<?php echo esc_attr( $item_id ); ?>">
193 <?php esc_html_e( 'CSS Classes (optional)', 'auxin-elements' ); ?><br />
194 <input type="text" id="edit-menu-item-classes-<?php echo esc_attr( $item_id ); ?>" class="widefat code edit-menu-item-classes" name="menu-item-classes[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( implode(' ', $item->classes ) ); ?>" />
195 </label>
196 </p>
197 <p class="field-xfn description description-thin">
198 <label for="edit-menu-item-xfn-<?php echo esc_attr( $item_id ); ?>">
199 <?php esc_html_e( 'Link Relationship (XFN)', 'auxin-elements' ); ?><br />
200 <input type="text" id="edit-menu-item-xfn-<?php echo esc_attr( $item_id ); ?>" class="widefat code edit-menu-item-xfn" name="menu-item-xfn[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item->xfn ); ?>" />
201 </label>
202 </p>
203 <p class="field-description description description-wide">
204 <label for="edit-menu-item-description-<?php echo esc_attr( $item_id ); ?>">
205 <?php esc_html_e( 'Description', 'auxin-elements' ); ?><br />
206 <textarea id="edit-menu-item-description-<?php echo esc_attr( $item_id ); ?>" class="widefat edit-menu-item-description" rows="3" cols="20" name="menu-item-description[<?php echo esc_attr( $item_id ); ?>]"><?php echo esc_html( $item->description ); // textarea_escaped ?></textarea>
207 <span class="description"><?php esc_html_e('The description will be displayed in the menu if the current theme supports it.', 'auxin-elements'); ?></span>
208 </label>
209 </p>
210
211
212
213 <div class="aux-master-menu-setting-wrapper">
214 <?php
215 foreach ( $this->menu_item_fields as $field_id => $field_info ) {
216
217 if( isset( $field_info['visible'] ) && ! in_array( $item->object, $field_info['visible'] ) ){
218 continue;
219 }
220
221 if( ! isset( $field_info['min_depth'] ) ){
222 $field_info['min_depth'] = 0;
223 }
224 if( ! isset( $field_info['max_depth'] ) ){
225 $field_info['max_depth'] = 100;
226 }
227
228 // skip if it does not meet minimum or maximum depth requirements
229 if( (int)$field_info['min_depth'] > $depth || (int)$field_info['max_depth'] < $depth ){
230 //continue;
231 }
232
233 if( ! isset( $field_info['type'] ) ){
234 $field_info['type'] = 'text';
235 }
236
237 if( ! isset( $field_info['default'] ) ){
238 $field_info['default'] = '';
239 }
240
241 switch ( $field_info['type'] ) {
242
243 case 'switch':
244
245 $field_info['type'] = 'checkbox';
246 ?>
247 <p class="field-<?php echo esc_attr( $field_id ); ?> description aux-mm-setting-field-<?php echo esc_attr( $field_info['type'] ); ?> aux-mm-setting-<?php echo esc_attr( $field_id ); ?>" data-min-depth="<?php echo esc_attr( $field_info['min_depth'] );?>" data-max-depth="<?php echo esc_attr( $field_info['max_depth'] );?>" >
248 <label for="edit-menu-item-<?php echo esc_attr( $field_id ); ?>-<?php echo esc_attr( $item_id ); ?>">
249 <input type="checkbox" id="edit-menu-item-<?php echo esc_attr( $field_id ); ?>-<?php echo esc_attr( $item_id ); ?>" name="menu-item-<?php echo esc_attr( $field_id ); ?>[<?php echo esc_attr( $item_id ); ?>]" <?php checked( $item->{$field_id}, '1' ); ?> />
250 <?php echo esc_html( $field_info['label'] ); ?>
251 </label>
252 </p>
253
254 <?php
255 break;
256
257 case 'select':
258
259 if( ! isset( $field_info['choices'] ) ){
260 $field_info['choices'] = array();
261 }
262 ?>
263 <p class="field-<?php echo esc_attr( $field_id ); ?> description aux-mm-setting-field-<?php echo esc_attr( $field_info['type'] ); ?> aux-mm-setting-<?php echo esc_attr( $field_id ); ?>" data-min-depth="<?php echo esc_attr( $field_info['min_depth'] );?>" data-max-depth="<?php echo esc_attr( $field_info['max_depth'] );?>" >
264 <label for="edit-menu-item-<?php echo esc_attr( $field_id ); ?>-<?php echo esc_attr( $item_id ); ?>">
265 <?php echo esc_html( $field_info['label'] ); ?>
266 </label>
267 <select id="edit-menu-item-<?php echo esc_attr( $field_id ); ?>-<?php echo esc_attr( $item_id ); ?>" name="menu-item-<?php echo esc_attr( $field_id ); ?>[<?php echo esc_attr( $item_id ); ?>]" >
268 <?php
269 foreach ( $field_info['choices'] as $choice_id => $choice_value ) {
270 echo '<option value="'. esc_attr( $choice_id ) .'" ' .selected( $item->{$field_id}, $choice_id, false ) .' >'. esc_html( $choice_value ) . '</option>';
271 }
272 ?>
273 </select>
274 </p>
275
276 <?php
277 break;
278
279 case 'icon':
280 $font_icons = Auxin()->Font_Icons->get_icons_list('fontastic');
281
282 if( ! isset( $field_info['choices'] ) ){
283 $field_info['choices'] = array();
284 }
285 ?>
286 <p class="field-<?php echo esc_attr( $field_id ); ?> description aux-mm-setting-field-<?php echo esc_attr( $field_info['type'] ); ?> aux-mm-setting-<?php echo esc_attr( $field_id ); ?>" data-min-depth="<?php echo esc_attr( $field_info['min_depth'] );?>" data-max-depth="<?php echo esc_attr( $field_info['max_depth'] );?>" >
287 <label for="edit-menu-item-<?php echo esc_attr( $field_id ); ?>-<?php echo esc_attr( $item_id ); ?>">
288 <select id="edit-menu-item-<?php echo esc_attr( $field_id ); ?>-<?php echo esc_attr( $item_id ); ?>" name="menu-item-<?php echo esc_attr( $field_id ); ?>[<?php echo esc_attr( $item_id ); ?>]" class="aux-fonticonpicker" >
289 <?php
290 echo '<option value="">' . esc_html__( 'Choose', 'auxin-elements' ) . '</option>';
291
292 if( is_array( $font_icons ) ){
293 foreach ( $font_icons as $icon ) {
294 $icon_id = trim( $icon->classname, '.' );
295 echo '<option value="'. esc_attr( $icon_id ) .'" '. selected( $item->{$field_id}, $icon_id, false ) .' >'. esc_html( $icon->name ) . '</option>';
296 }
297 }
298 ?>
299 </select>
300 <?php echo esc_html( $field_info['label'] ); ?>
301 </label>
302 </p>
303
304 <?php
305 break;
306
307 case 'textarea':
308 ?>
309 <p class="field-<?php echo esc_attr( $field_id ); ?> description description-wide aux-mm-setting-field-<?php echo esc_attr( $field_info['type'] ); ?> aux-mm-setting-<?php echo esc_attr( $field_id ); ?>" data-min-depth="<?php echo esc_attr( $field_info['min_depth'] );?>" data-max-depth="<?php echo esc_attr( $field_info['max_depth'] );?>" >
310 <label for="edit-menu-item-<?php echo esc_attr( $field_id ); ?>-<?php echo esc_attr( $item_id ); ?>">
311 <?php echo esc_html( $field_info['label'] ); ?><br />
312 <textarea id="edit-menu-item-<?php echo esc_attr( $field_id ); ?>-<?php echo esc_attr( $item_id ); ?>" class="widefat edit-menu-item-<?php echo esc_attr( $field_id ); ?>" rows="3" cols="20" name="menu-item-<?php echo esc_attr( $field_id ); ?>[<?php echo esc_attr( $item_id ); ?>]" ><?php echo esc_html( $item->{$field_id} ); // textarea_escaped ?></textarea>
313 </label>
314 </p>
315
316 <?php
317 break;
318
319 case 'text':
320 default:
321 ?>
322
323 <p class="description description-wide aux-mm-setting-field-<?php echo esc_attr( $field_info['type'] ); ?> aux-mm-setting-<?php echo esc_attr( $field_id ); ?>" data-min-depth="<?php echo esc_attr( $field_info['min_depth'] );?>" data-max-depth="<?php echo esc_attr( $field_info['max_depth'] );?>">
324 <label for="edit-menu-item-<?php echo esc_attr( $field_id ); ?>-<?php echo esc_attr( $item_id ); ?>">
325 <?php echo esc_html( $field_info['label'] ); ?><br />
326 <input type="text" id="edit-menu-item-<?php echo esc_attr( $field_id ); ?>-<?php echo esc_attr( $item_id ); ?>" class="widefat edit-menu-item-<?php echo esc_attr( $field_id ); ?>" name="menu-item-<?php echo esc_attr( $field_id ); ?>[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item->{$field_id} ); ?>" />
327 </label>
328 </p>
329
330 <?php
331 break;
332 }
333
334 }
335 ?>
336 </div>
337
338 <?php
339 /**
340 * Fires just before the move buttons of a nav menu item in the menu editor.
341 *
342 * @since 5.4.0
343 *
344 * @param int $item_id Menu item ID.
345 * @param WP_Post $item Menu item data object.
346 * @param int $depth Depth of menu item. Used for padding.
347 * @param stdClass $args An object of menu item arguments.
348 * @param int $id Nav menu ID.
349 */
350 do_action( 'wp_nav_menu_item_custom_fields', $item_id, $item, $depth, $args, $id );
351 ?>
352
353 <p class="field-move hide-if-no-js description description-wide">
354 <label>
355 <span><?php _e( 'Move', 'auxin-elements' ); ?></span>
356 <a href="#" class="menus-move menus-move-up" data-dir="up"><?php esc_html_e( 'Up one', 'auxin-elements' ); ?></a>
357 <a href="#" class="menus-move menus-move-down" data-dir="down"><?php esc_html_e( 'Down one', 'auxin-elements' ); ?></a>
358 <a href="#" class="menus-move menus-move-left" data-dir="left"></a>
359 <a href="#" class="menus-move menus-move-right" data-dir="right"></a>
360 <a href="#" class="menus-move menus-move-top" data-dir="top"><?php esc_html_e( 'To the top', 'auxin-elements' ); ?></a>
361 </label>
362 </p>
363
364 <div class="menu-item-actions description-wide submitbox">
365 <?php if ( 'custom' != $item->type && $original_title !== false ) : ?>
366 <p class="link-to-original">
367 <?php printf( esc_html__('Original: %s', 'auxin-elements'), '<a href="' . esc_attr( $item->url ) . '">' . esc_html( $original_title ) . '</a>' ); ?>
368 </p>
369 <?php endif; ?>
370 <a class="item-delete submitdelete deletion" id="delete-<?php echo esc_attr( $item_id ); ?>" href="<?php
371 echo wp_nonce_url(
372 add_query_arg(
373 array(
374 'action' => 'delete-menu-item',
375 'menu-item' => $item_id,
376 ),
377 admin_url( 'nav-menus.php' )
378 ),
379 'delete-menu_item_' . $item_id
380 ); ?>"><?php esc_html_e( 'Remove', 'auxin-elements' ); ?></a> <span class="meta-sep hide-if-no-js"> | </span> <a class="item-cancel submitcancel hide-if-no-js" id="cancel-<?php echo esc_attr( $item_id ); ?>" href="<?php echo esc_url( add_query_arg( array( 'edit-menu-item' => $item_id, 'cancel' => time() ), admin_url( 'nav-menus.php' ) ) );
381 ?>#menu-item-settings-<?php echo esc_url( $item_id ); ?>"><?php esc_html_e('Cancel', 'auxin-elements'); ?></a>
382 </div>
383
384 <input class="menu-item-data-db-id" type="hidden" name="menu-item-db-id[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item_id ); ?>" />
385 <input class="menu-item-data-object-id" type="hidden" name="menu-item-object-id[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item->object_id ); ?>" />
386 <input class="menu-item-data-object" type="hidden" name="menu-item-object[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item->object ); ?>" />
387 <input class="menu-item-data-parent-id" type="hidden" name="menu-item-parent-id[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item->menu_item_parent ); ?>" />
388 <input class="menu-item-data-position" type="hidden" name="menu-item-position[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item->menu_order ); ?>" />
389 <input class="menu-item-data-type" type="hidden" name="menu-item-type[<?php echo esc_attr( $item_id ); ?>]" value="<?php echo esc_attr( $item->type ); ?>" />
390
391
392 </div><!-- .menu-item-settings-->
393 <ul class="menu-item-transport"></ul>
394 <?php
395 $output .= ob_get_clean();
396 }
397
398 }
399