wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_edit_nav_menu_walker › WordPress Filter Hooks

Since3.0.0
Deprecatedn/a
apply_filters( 'wp_edit_nav_menu_walker', 'Walker_Nav_Menu_Edit', $menu_id )
Parameters: (2)
  • (string) $class The walker class to use. Default 'Walker_Nav_Menu_Edit'.
    Required: Yes
  • (int) $menu_id ID of the menu being rendered.
    Required: Yes
Defined at:
Codex:

Filters the Walker class used when adding nav menu items.





Source

$walker_class_name = apply_filters( 'wp_edit_nav_menu_walker', 'Walker_Nav_Menu_Edit', $menu_id );