nav_menu_item_args

Advertisement

Summery Summery

Filters the arguments for a single nav menu item.

Syntax Syntax

apply_filters( 'nav_menu_item_args', stdClass $args, WP_Post $item, int $depth )

Parameters Parameters

$args

An object of wp_nav_menu() arguments.

$item

Menu item data object.

$depth

Depth of menu item. Used for padding.

Source Source

File: wp-includes/class-walker-nav-menu.php

Advertisement

Changelog Changelog

Changelog
Version Description
4.4.0 Introduced.

Advertisement

Leave a Reply