wp_get_nav_menu_to_edit


wp_get_nav_menu_to_edit ( $menu_id = 0 )

Parameters:
  • (int) $menu_id Optional. The ID of the menu to format. Default 0.
Returns:
  • (string|WP_Error) $output The menu formatted to edit or error object on failure.
Defined at:

Description

Returns the menu formatted to edit.

Related Functions

wp_get_nav_menu_object, wp_get_nav_menu_items, wp_get_nav_menu_name, wp_get_nav_menus, wp_setup_nav_menu_item

Top Google Results

User discussions

wpseek mobile