{
  "name": "bricks/nav_menu/menu",
  "kind": "filter",
  "url": "https://academy.bricksbuilder.io/developer/hooks/filters/filter-bricks-nav_menu-menu/",
  "scraped_at": "2026-08-29",
  "hook_name": "bricks/nav_menu/menu",
  "description": {
    "en": "The bricks/nav_menu/menu filter allows you to modify the navigation menu dynamically in Bricks Builder based on your conditions. In the following example, we’ll demonstrate how to change the navigation menu if the user is logged in. This can be useful for displaying different menus to guests and logged-in users without using multiple Nab Menu elements and Bricks conditions. **Example: **Use “My Account Menu” on the “Nav Menu” element (id: kybsde ) if the user is logged in. You can retrieve the menu ID via the URL parameter after selecting it.",
    "zh": "此筛选器允许你修改 Bricks 中导航菜单元素（Nav Menu）的设置。在下面的示例中，我们将演示如何在用户登录时更改导航菜单。这对于在不依赖多个 Nav Menu 元素和 Bricks 条件的情况下向访客和登录用户显示不同菜单非常有用。示例：在 ID 为 kybsde 的“Nav Menu”元素上使用“My Account Menu”（如果用户已登录）。你可以通过选择菜单后的 URL 参数获取菜单 ID。"
  },
  "example_usage": null
}