I want to remove / hide Categories / Tags submenu under Posts in the Admin Menu. I know this works with themes submenus:
but the same doesn't seem to work for posts:
I'm using the admin_menu action:
Do I need to add something else?