in admin-ajax.php on line 801 there is: ‘walker’ => new Walker_Nav_Menu_Edit,
but thas is problem cause this way you cannote change the walker for the ajax add-menu-item action
i think there should be filter like in nav-menus
$walker_class_name = apply_filters( ‘wp_edit_nav_menu_walker’, ‘Walker_Nav_Menu_Edit’, $menu_id );
- The topic ‘[Problem] You cannot change walker in admin-ajax’ is closed to new replies.