nav_menu_item_args

最后更新于:2021-11-27 08:50:33

apply_filters( ‘nav_menu_item_args’, stdClass $args, GC_Post $item, int $depth )

Filters the arguments for a single nav menu item.

参数

$args

(stdClass)
An object of gc_nav_menu() arguments.

$item

(GC_Post)
Menu item data object.

$depth

(int)
Depth of menu item. Used for padding.

源文件

文件: gc-includes/class-walker-nav-menu.php

View on Trac