Sometimes you might need to remove posts, pages, plugins or other menus and submenus from the WordPress dashboard.
Here’s two handy functions put together to remove all by Chris_O over at StackExchange.
Simply add these to the functions.php file in your WordPress theme then delete or comment out whichever options you don’t wish to use.