Create reliable way to remove admin menus and submenus
|Reported by:||markjaquith||Owned by:|
It's time. I'm tired of unsetting global variables. We need a consistent way to remove menus (core or plugin-added).
remove_menu_item() and remove_submenu_item()
I don't want to be dealing with numerical array keys. I want something 100% predictable.
Change History (14)
- Summary changed from Create reliable way to remove menus and submenus: remove_menu_item() and remove_submenu_item() to Create reliable way to remove admin menus and submenus