{
  "name": "bricks/code/disable_execution",
  "kind": "filter",
  "url": "https://academy.bricksbuilder.io/developer/hooks/filters/filter-bricks-code-disable_execution/",
  "scraped_at": "2026-08-29",
  "hook_name": "bricks/code/disable_execution",
  "description": {
    "en": "This PHP filter allows you to disable code execution within the Bricks builder programmatically. It takes precedence over the bricks/code/allow_execution filter and any settings configured in Bricks > Settings > Custom code > Code execution . Use this filter to enforce stricter security by disabling code execution, regardless of other configurations on your site.",
    "zh": "此 PHP 筛选器允许你以编程方式在 Bricks 构建器中禁用代码执行。它优先于 bricks/code/allow_execution 筛选器以及 Bricks > 设置 > 自定义代码 > 代码执行 中配置的任何设置。使用此筛选器强制实施更严格的安全性，无论站点上的其它配置如何都禁用代码执行。"
  },
  "example_usage": null
}