A WordPress-centric search engine for devs and theme authors



wp_get_nav_menu_items ›

Since3.0.0
Deprecatedn/a
apply_filters( 'wp_get_nav_menu_items', $items, $menu, $args )
Parameters: (3)
  • (array) $items An array of menu item post objects.
    Required: Yes
  • (object) $menu The menu object.
    Required: Yes
  • (array) $args An array of arguments used to retrieve menu item objects.
    Required: Yes
Defined at:
Codex:

Filters the navigation menu items being returned.





Source

return apply_filters( 'wp_get_nav_menu_items', $items, $menu, $args );