📄 原始资料 | 展开查看原始 JSON(bricks-setup-control_options.json){ “name”: “bricks/setup/control_options”, “kind”: “filter”, “url”: “https://academy.bricksbuilder.io/developer/hooks/filters/filter-bricks-setup-control_options/”, “scraped_at”: “2026-08-29”, “hook_name”: “bricks/setup/control_option…
📄 原始资料 | 展开查看原始 JSON(bricks-setup-control_options.json)
{
"name": "bricks/setup/control_options",
"kind": "filter",
"url": "https://academy.bricksbuilder.io/developer/hooks/filters/filter-bricks-setup-control_options/",
"scraped_at": "2026-08-29",
"hook_name": "bricks/setup/control_options",
"description": {
"en": "Bricks offers a WordPress filter to add or remove control options. The control options are used throughout Bricks and allow you to manage the options of the: To manage any of these options or add new ones, use the WP hook bricks/setup/control_options like so: Note: the above example adds a new template type. To learn about other Bricks controls, visit the Controls section .",
"zh": "Bricks 提供了一个 WordPress 筛选器来添加或删除控件选项。控件选项在 Bricks 整个应用中使用,并允许你管理以下各项的选项:要管理这些选项或添加新选项,请使用 WP 钩子 bricks/setup/control_options,如下所示:注意:以上示例添加了新的模板类型。要了解其他 Bricks 控件,请访问控件部分。"
},
"example_usage": null
}
前言
Bricks 提供了一个 WordPress 筛选器来添加或删除控件选项。控件选项在 Bricks 整个应用中使用,并允许你管理以下各项的选项:要管理这些选项或添加新选项,请使用 WP 钩子 bricks/setup/control_options,如下所示:注意:以上示例添加了新的模板类型。要了解其他 Bricks 控件,请访问控件部分。
补充说明
更多细节可参考 官方文档。