nav_menu_attr_title WordPress Filter Hook
The nav_menu_attr_title hook is used to filter the title attribute for a menu item.
apply_filters( 'nav_menu_attr_title', string $item_title ) #
Filters a navigation menu item’s title attribute.
Parameters
- $item_title
(string)The menu item title attribute.
Source
File: wp-includes/nav-menu.php
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |