wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_nav_menu_items › WordPress Filter Hooks

Since3.0.0
Deprecatedn/a
apply_filters( 'wp_nav_menu_items', $items, $args )
Parameters: (2)
  • (string) $items The HTML list content for the menu items.
    Required: Yes
  • (stdClass) $args An object containing wp_nav_menu() arguments.
    Required: Yes
Defined at:
Codex:

Filters the HTML list content for navigation menus.





Source

$items = apply_filters( 'wp_nav_menu_items', $items, $args );