Make WordPress Core

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)

#1 @jartes
13 years ago

  • Cc joan@… added

#2 @bi0xid
13 years ago

  • Cc raven@… added

#3 @SergeyBiryukov
13 years ago

  • Milestone Awaiting Review
  • Resolutionduplicate
  • Status newclosed
Note: See TracTickets for help on using tickets.