A WordPress-centric search engine for devs and theme authors



wp_nav_menu_{$menu->slug}_items ›

Since3.0.0
Deprecatedn/a
apply_filters( "wp_nav_menu_{$menu->slug}_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
See:
  • wp_nav_menu()
Defined at:
Codex:

Filters the HTML list content for a specific navigation menu.





Source

$items = apply_filters( "wp_nav_menu_{$menu->slug}_items", $items, $args );