Opened 3 years ago
Last modified 2 years ago
#14884 new enhancement
Add a filter inside admin-ajax.php for walker
| Reported by: |
|
Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | Future Release |
| Component: | Menus | Version: | 3.0.1 |
| Severity: | normal | Keywords: | needs-patch |
| Cc: |
Description
I'm trying to extend the Wordpress menu system and i can't get the things working from start because inside admin-ajax.php on line 841, there is no filter. I'm talking about this piece of code
if ( ! empty( $menu_items ) ) {
$args = array(
'after' => '',
'before' => '',
'link_after' => '',
'link_before' => '',
'walker' => new Walker_Nav_Menu_Edit,
);
echo walk_nav_menu_tree( $menu_items, 0, (object) $args );
}
The Walker_Nav_Menu_Edit class is applied by default.
If someone can add a filter, it would be great for all developers.
Change History (1)
Note: See
TracTickets for help on using
tickets.
