W3cubDocs

/WordPress

apply_filters( 'wp_setup_nav_menu_item', object $menu_item )

Filters a navigation menu item object.

Parameters

$menu_item

(object) The menu item object.

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/wp_setup_nav_menu_item