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|bool) The removed submenu on success, false if not found.
Defined at:

Description

Remove an admin submenu.

Related Functions

remove_menu_page, add_submenu_page, remove_query_arg, add_menu_page, remove_image_size

Top Google Results

User discussions

wpseek mobile