apply_filters( 'nav_menu_item_title', string $title, WP_Post $item, stdClass $args, int $depth )

Filters a menu item’s title.

Description Description

Parameters Parameters


(string) The menu item's title.


(WP_Post) The current menu item.


(stdClass) An object of wp_nav_menu() arguments.


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

Top ↑

Source Source

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

View on Trac

Top ↑

Changelog Changelog

Version Description
4.4.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.