apply_filters( 'wp_get_nav_menu_items', array $items , object $menu , array $args )
Filters the navigation menu items being returned.
Parameters
-
$items
array -
An array of menu item post objects.
-
$menu
object -
The menu object.
-
$args
array -
An array of arguments used to retrieve menu item objects.
Source
File: wp-includes/nav-menu.php
.
View all references
return apply_filters( 'wp_get_nav_menu_items', $items, $menu, $args );
Changelog
Version | Description |
---|---|
3.0.0 | Introduced. |
User Contributed Notes
-
Skip to note 1 content You must log in to vote on the helpfulness of this noteVote results for this note: 0You must log in to vote on the helpfulness of this note