WordPress开发者和主题制作者的搜索引擎



wp_nav_menu_items ›

Since3.0.0
已弃用n/a
apply_filters( 'wp_nav_menu_items', $items, $args )
参数: (2)
  • (string) $items The HTML list content for the menu items.
    Required: Yes
  • (stdClass) $args An object containing wp_nav_menu() arguments.
    Required: Yes
查看:
  • wp_nav_menu()
定义在:
文档:

Filters the HTML list content for navigation menus.





源码

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