Uma área de pesquisa sobre o WordPress para devs e autores do tema



nav_menu_item_title ›

Desde4.4.0
Obsoleton/a
apply_filters( 'nav_menu_item_title', $title, $item, $args, $depth )
Parâmetros: (4)
  • (string) $title The menu item's title.
    Required: Yes
  • (WP_Post) $item The current menu item.
    Required: Yes
  • (stdClass) $args An object of wp_nav_menu() arguments.
    Required: Yes
  • (int) $depth Depth of menu item. Used for padding.
    Required: Yes
Definido em:
Codex:

Filters a menu item's title.





Fonte

$title = apply_filters( 'nav_menu_item_title', $title, $item, $args, $depth );