global $menu in one of my plugins to get the list of menu items. But i would like to get the list of of items from a submenu
for example from
Posts i would like to get Add new, All, Edit category etc. with slugs or other something unique.
How can i get this?