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) The menu formatted to edit or error object on failure.
Defined at: - Introduced in WordPress: 3.0.0
- Deprecated in WordPress: —
Description
Returns the menu formatted to edit.