W3cubDocs

/WordPress

apply_filters( 'nav_menu_description', string $description )

Filters a navigation menu item’s description.

Parameters

$description

(string) The menu item description.

Source

File: wp-includes/nav-menu.php

View on Trac

Changelog

Version Description
3.0.0 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/nav_menu_description