#25205 closed enhancement (duplicate)
filter for submenu_as_parent parameter
Reported by: | plocha | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | trivial | Version: | 3.6 |
Component: | Administration | Keywords: | has-patch |
Focuses: | Cc: |
Description
This filter enables plugins to remove the menu entries which have the same target as their parents.
We could use this filter to determine whether /wp-admin/menu.php and add_submenu_page should add 'same target' submenu entries. But I think there is no need for it because some plugins manually add such submenu entries. So plugins which use this filter should remove them manually.
Attachments (1)
Change History (4)
Note: See
TracTickets for help on using
tickets.
Duplicate of #19085.