Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#25591 closed enhancement (duplicate)


Reported by: j.conti Owned by:
Milestone: Priority: normal
Severity: normal Version:
Component: Administration Keywords:
Focuses: Cc:



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)

#1 @jartes
8 years ago

  • Cc joan@… added

#2 @bi0xid
8 years ago

  • Cc raven@… added

#3 @SergeyBiryukov
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.