{
  "name": "bricks/code/disallow_keywords",
  "kind": "filter",
  "url": "https://academy.bricksbuilder.io/developer/hooks/filters/filter-bricks-code-disallow_keywords/",
  "scraped_at": "2026-08-29",
  "hook_name": "bricks/code/disallow_keywords",
  "description": {
    "en": "This filter introduces another level of security when using the Code element to run code. With the filter bricks/code/disallow_keywords you’ll be able to prevent the code execution if specific keywords are found in the code, thus reducing the risk of using this element. To add keywords to this check, use the following example:",
    "zh": "此筛选器在使用 Code 元素运行代码时引入了另一层安全性。通过 bricks/code/disallow_keywords 筛选器，你可以防止在代码中发现特定关键字时执行代码，从而降低使用此元素的风险。要向此检查中添加关键字，可参考以下示例："
  },
  "example_usage": null
}