remove_submenu_page
remove_submenu_page ( $menu_slug, $submenu_slug )
Parameters:- (string) menu_slug The slug for the parent menu.
- (string) submenu_slug The slug of the submenu.
Returns:- (array|false) The removed submenu on success, false if not found.
Defined at: - Introduced in WordPress: 3.1.0
- Deprecated in WordPress: —
Description
Remove an admin submenu.