W3cubDocs

/WordPress

apply_filters( 'wp_edit_nav_menu_walker', string $class, int $menu_id )

Filters the Walker class used when adding nav menu items.

Parameters

$class

(string) The walker class to use. Default 'Walker_Nav_Menu_Edit'.

$menu_id

(int) ID of the menu being rendered.

Source

File: wp-admin/includes/nav-menu.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_edit_nav_menu_walker