wp_nav_menu_update_menu_items


wp_nav_menu_update_menu_items ( $nav_menu_selected_id, $nav_menu_selected_title )

Parameters:
  • (int|string) $nav_menu_selected_id (id, slug, or name ) of the currently-selected menu
  • (string) $nav_menu_selected_title Title of the currently-selected menu
Returns:
  • (array) $messages The menu updated message
Defined at:

Description

Saves nav menu items

Related Functions

wp_nav_menu_post_type_meta_boxes, wp_get_nav_menu_items, wp_admin_bar_updates_menu, wp_save_nav_menu_items, wp_get_nav_menu_to_edit

Top Google Results

User discussions

wpseek mobile