{
  "name": "bricks/acf/taxonomy/show_as_link",
  "kind": "filter",
  "url": "https://academy.bricksbuilder.io/developer/hooks/filters/bricks-acf-taxonomy-show_as_link/",
  "scraped_at": "2026-08-29",
  "hook_name": "bricks/acf/taxonomy/show_as_link",
  "description": {
    "en": "Determines whether the ACF Taxonomy field dynamic data output should be rendered as links to the term archives.",
    "zh": "决定 ACF Taxonomy 字段动态数据输出是否应渲染为指向术语归档页的链接。"
  },
  "parameters": [
    {
      "name": "show_as_link",
      "type": "bool",
      "type_zh": null,
      "description": {
        "en": "Whether to render as links. Defaults to true .",
        "zh": "是否输出术语归档的链接。默认为 true。"
      }
    },
    {
      "name": "value",
      "type": "mixed",
      "type_zh": null,
      "description": {
        "en": "The raw value of the ACF Taxonomy field.",
        "zh": "ACF Taxonomy 字段的原始值（术语对象/ID 数组）。"
      }
    },
    {
      "name": "field",
      "type": "array",
      "type_zh": null,
      "description": {
        "en": "The ACF field settings.",
        "zh": "ACF 字段设置。"
      }
    }
  ],
  "example_usage": "add_filter( 'bricks/acf/taxonomy/show_as_link', function( $show_as_link, $value, $field ) {\n    // Disable links for taxonomy terms\n    return false;\n}, 10, 3 );"
}