[wp-trac] [WordPress Trac] #32823: New function to add a separator to the top level menu
WordPress Trac
noreply at wordpress.org
Mon Jun 29 13:08:08 UTC 2015
#32823: New function to add a separator to the top level menu
-------------------------+-----------------------------
Reporter: GregRoss | Owner:
Type: enhancement | Status: new
Priority: normal | Milestone: Awaiting Review
Component: General | Version: trunk
Severity: normal | Keywords:
Focuses: |
-------------------------+-----------------------------
You can currently add a menu page to the top level menu with the
add_menu_page() function, however there is no function to add a separator
to the menu (like the one between Dashboard and Posts).
The attached patch adds a add_menu_page_separator() function to do exactly
that.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/32823>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list