nav_menu_item_title

最后更新于:2021-11-27 08:55:05

apply_filters( ‘nav_menu_item_title’, string $title, GC_Post $item, stdClass $args, int $depth )

Filters a menu item’s title.

参数

$title

(string)
The menu item’s title.

$item

(GC_Post)
The current menu item.

$args

(stdClass)
An object of gc_nav_menu() arguments.

$depth

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

源文件

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

View on Trac