WordPress at a glance
filter is not described

nav_menu_item_args filter-hook . WP 4.4.0

Filters the arguments for a single nav menu item.


add_filter( 'nav_menu_item_args', 'filter_function_name_7966', 10, 3 );
function filter_function_name_7966( $args, $item, $depth ){
	// filter...

	return $args;
An object of wp_nav_menu() arguments.
Menu item data object.
Depth of menu item. Used for padding.

Where the hook is called

wp-includes/class-walker-nav-menu.php 140
$args = apply_filters( 'nav_menu_item_args', $args, $item, $depth );

Where the hook is used (in WP core)

Does not used.