[wp-trac] [WordPress Trac] #25591: hide_submenu_page
WordPress Trac
noreply at wordpress.org
Mon Oct 14 07:54:43 UTC 2013
#25591: hide_submenu_page
----------------------------+-----------------------------
Reporter: j.conti | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Administration | Version:
Severity: normal | Keywords:
----------------------------+-----------------------------
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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/25591>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list