Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_get_nav_menu_items ›

Desde3.0.0
Obsoleton/a
apply_filters( 'wp_get_nav_menu_items', $items, $menu, $args )
Parâmetros: (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
Definido em:
Codex:

Filters the navigation menu items being returned.





Fonte

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