adds function for getting a menu item
Merge pull request #5788 from cash/get_menu_item

adds function for getting a menu item