Filters the navigation menu items being returned.
$itemsarray$argsarraywp-includes/nav-menu.php:777wp_get_nav_menu_items() * @since 3.0.0 * * @param array $items An array of menu item post objects. * @param object $menu The menu object. * @param array $args An array of arguments used to retrieve menu item objects. */ return apply_filters( 'wp_get_nav_menu_items', $items, $menu, $args );} /** * Updates post and term caches for all linked objects for a list of menu items. * * @since 6.1.0Introduced in 3.0.0. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.