W3cubDocs

/WordPress

apply_filters( "wp_nav_menu_{$menu->slug}_items", string $items, stdClass $args )

Filters the HTML list content for a specific navigation menu.

Description

See also

Parameters

$items

(string) The HTML list content for the menu items.

$args

(stdClass) An object containing wp_nav_menu() arguments.

Source

File: wp-includes/nav-menu-template.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_nav_menu_menu-slug_items