wp_edit_nav_menu_walker

Advertisement

Summery Summery

Filters the Walker class used when adding nav menu items.

Syntax Syntax

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

Parameters Parameters

$class

The walker class to use. Default 'Walker_Nav_Menu_Edit'.

$menu_id

ID of the menu being rendered.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

Advertisement

Leave a Reply