#11377 closed enhancement (fixed)
create function add_plugins_page for Plugin sub-menu items
Reported by: | williamsba1 | Owned by: | williamsba1 |
---|---|---|---|
Milestone: | 3.0 | Priority: | normal |
Severity: | normal | Version: | |
Component: | General | Keywords: | has-patch |
Focuses: | Cc: |
Description
There is a designated function to create sub-menu items for every menu except for the plugins menu. I'm proposing creating a function named add_plugins_page which would work identical to the other menu functions.
Proposed patch is attached
Attachments (1)
Change History (8)
#3
@
15 years ago
It wasn't added in the past because we didn't really want things being added under the plugins menu. I'm not sure where we stand now. Since plugins put lots of stuff under there anyway, it probably doesn't matter anymore and we should just add the function.
#4
@
15 years ago
I think it should be added for consistency. Most developers know by now how to add a menu to Plugins SubPanel using add_submenu_page function, so might as well add in the new function.
function add_plugins_page