Reply To: Deleting Admin Sub-menu items
why did you asked in your first post what to put into your themes functions.php ? Thought his was the right place to put the changed function. The only thing you have to do is to create a child theme so you will never loose the change you did after an upgrade.
That’s why child theme is for !
Don’t make over complicated things. I never tell you to hack the core file.