wp_nav_menu_{$menu->slug}_items

Advertisement

Summery Summery

Filters the HTML list content for a specific navigation menu.

Syntax Syntax

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

Parameters Parameters

$items

The HTML list content for the menu items.

$args

An object containing wp_nav_menu() arguments.

Source Source

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

Advertisement

Changelog Changelog

Changelog
Version Description
3.0.0 Introduced.

See also See also

Advertisement

Leave a Reply