Opened 12 years ago
Closed 12 years ago
#25591 closed enhancement (duplicate)
hide_submenu_page
Reported by: |
|
Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
Hi,
You can hide a submenu in 3 ways.
remove_submenu_page -> page inaccessible.
unset($submenu... -> same way
add_submenu_page with parent = null. The submenu is not showed, but the parent menu don't expand.
I think can be great a function that hide a submenu link, but expand the plugin/theme parent menu.
For example hide_submenu_page
With that function, a developer could hide the submenu, but the parent menu would be expanded.
Change History (3)
Note: See
TracTickets for help on using
tickets.
#18850, #20878, #21424