WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 10 months ago

#19464 new enhancement

Auto add do_action for menu in admin

Reported by: ciantic Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version:
Component: Menus Keywords:
Focuses: Cc:

Description

In menu's there is this feature: "Automatically add new top-level pages"

I'm in a process to implement "Automatically add categories" and "Automatically add new subpages of page:", but unfortunately there is no action which to hook so I could insert HTML right after or before the "auto-add-pages" in my plugin.

So I suggest to add a new action or filter like "menu_auto_add" so it would be simple to insert the HTML after the auto-add-pages.

Change History (2)

comment:1 scribu3 years ago

  • Type changed from feature request to enhancement

comment:2 toscho10 months ago

  • Cc info@… added
Note: See TracTickets for help on using tickets.