The menu items boxes are created by the class Walker_Nav_Menu_Edit
in wp-admin/includes/nav-menu.php.
Thus to alter those boxes you’ll have to make your custom Walker I guess.
But if you mean adding the new value to the nav menu meta-boxes (the boxes to the left side of the page) this will do the job:
The function that adds new meta_boxes:
function my_function() {
add_meta_box( 'foo', __( 'Fooo' ), 'callback_function' , 'nav-menus', 'side', 'default' );
}
The callback that renders the output for the new boxes:
function callback_function( ) {
global $wp_meta_boxes;
var_dump($wp_meta_boxes);
}
And you can use both:
add_filter( 'manage_nav-menus_columns', 'my_function');
or
add_action('admin_init', 'my_function');
Related Posts:
- Changing the Order of Admin Menu Sections?
- Adding an Arbitrary Link to the Admin Menu?
- Add separator to admin submenu
- Renaming a WordPress Admin Menu
- How do I fix this error: Warning: invalid argument supplied for foreach()?
- How to add menu to Dashboard that can be viewed by all users
- Make Theme automatically choose default nav menu
- Move admin menu at the end
- Hide pages depending on role
- WordPress Menu Disappears when $query->query_vars[‘meta_key’] is set
- How can I get an array/list of all current WordPress Admin Menu items?
- how to only add a top-level admin menu without it creating a sub-level-menu
- Remove Metabox from Menus screen
- Sort wp_nav_menu() by menu order
- Custom Admin Menu Order
- Disabling ‘posts’ in Appearance > Menus
- Hiding Admin Page While Keeping Menu Expanded
- Get admin menu link
- Hook for number of items in Appearance > Menus > CustomPostType > View All [duplicate]
- Filter for Admin Nav Menus Drop Down
- SlideDeck 2, make back-end visible for admins only
- Limit the menu child levels under “admin > appearance > menus”
- delete all post with certain meta_keys
- Ad custom admin page like WordPress customizer [closed]
- Admin menu structure
- Appearance Menus Screen – menu item drop down menu not functioning
- Adding an admin menu page showing the link twice – how to solve this?
- Admin-ajax.php 500 error when Add to menu is clicked in admin
- Can I have custom post types in “Add menu items” on in the Admin > Appearance > Menu
- Add Labels to Admin Menu ( How To )
- How can I make a menu link visible only to admins (without plugins)?
- How to make wordpress nav menu use post custom meta data
- Adding top level items in the admin menu that link to a post
- How to get submenu of admin menu?
- Strange menu behaviour wordpress admin [duplicate]
- Adding CSS-class to WordPress Menu in backend
- Menu deletes all items and position – wordpress bug?
- Plugins & Setting Menu Items Removed From Admin Panel
- Dynamically get the meta key value of a menu item based on it’s post ID
- add_menu_page does not render the expected result
- Admin Menu Hack (Left side in Dashboard)
- Lost admin “manage_link” capability WordPress. No “Links” menu item in admin menu
- Admin menu in different languages
- Need to remove the admin menu item from a be theme in wordpress
- Add category label for appearance > menus items
- Removing wp admin menu item on top bar of admin backend
- update_post_meta breaking wp_update_nav_menu_item
- Links in new menu don’t work
- wp_is_mobile() inside js
- Appearance > Menus
- Customizing label/title output of admin nav_menu selecter
- Is It Possible To A Link To The Homepage From The Admin Sidebar?
- Query for menus in backend (BE)
- List of WordPress menu item indices?
- How do I fix the URL used in the WordPress admin menu for customize.php
- How can I disable sorting/dragging of a menu item in the custom menu admin?
- How to change the markup created by menu item only on chosen items?
- How to change WP menu item type?
- Add Javascript to WordPress Menu
- Add custom menu item using wp_nav_menu_items filter
- Custom Post Types posts as submenus in Nav Menu
- Renaming Menu Item within Admin Menu Section for a Custom Post Type?
- HTML Bootstrap navigation menu to WordPress menu using wp_nav_menu
- Getting URL value from menu item by ID
- Is it possible to add a filter for the output of nav-menu items in admin?
- Adding html elements to wp nav menu
- How to specify or extend the CSS-class of a menu item?
- Add Bootstrap dropdown class to a nav menu
- How to change Twenty Seventeen theme’s navigation bar location?
- Indirect modification of overloaded property WP_Post::$classes has no effect
- How to add a CSS class to the tooltip on a navigation menu?
- How to get the name of the parent menu if the current page is an archive page in a custom menu
- How to add fixed position in menu class for Twenty Twelve theme?
- How do I separate link levels in a custom menu walker?
- Possible Menu Hack?
- I need my dropdown sub-sub-menu box to show sub-menu title above
- Allowing HTML in Menu Descriptions
- How to add class to parent a tag with a sub menu
- Listing Child Pages in a Certain Order?
- WordPress + Bootstrap [closed]
- How to hide a menu from public, but share content with a private link [closed]
- WordPress menu>Custom Link: removing my link formatting and adding %20
- Wp_list_pages not showing children with custom page template
- How to check if current page is a parent item or child item in a given menu
- Buggy wp_nav_menu?
- WP Menu Rollover Nav Item and Effect DIV Elsewhere
- How to create a mobile menu full screen overlay using Understraps Bootstrap 4 theme
- adding drop down menu item to existing menu
- wordpress walker add class to submenu a href
- How to Hide/Remove Pages section in Menus (Dashboard)
- Unable to remove page from primary menu
- wp-nav menu with custom walker , how to remove a tag if it has any submenu
- Always show wordpress submenu on responsive header menu
- Showing a link with Javascript based on log-in status
- Placing generated list into drop-down on custom menu
- Building Menus with the latest posts included
- Cannot control wp_nav_menu properly
- wordpress superfish dropdown menu
- How to disable permalink of a particular menu item?
- how to add permalink/slug to wordpress custom link menu item