Like he was pokazalsya. If you know the id menu, you can get an array of objects using
wp_get_nav_menu_items( 3, array( 'update_post_term_cache' => false ) )
This is an example. The second argument only, tell me, who knows. Just on the website there will be several menus with different markings. You like to control everything completely.