Opened 13 years ago
Closed 13 years ago
#25591 closed enhancement (duplicate)
hide_submenu_page
| Reported by: | j.conti | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Administration | Version: | |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
#18850, #20878, #21424