{
  "name": "bricks/builder/term_name",
  "kind": "filter",
  "url": "https://academy.bricksbuilder.io/developer/hooks/filters/bricks-builder-term_name/",
  "scraped_at": "2026-08-29",
  "hook_name": "bricks/builder/term_name",
  "description": {
    "en": "Filters the term name displayed in the Bricks builder interface (e.g., in taxonomy pickers).",
    "zh": "筛选 Bricks 构建器界面中显示的术语名称（例如在术语选择器中）。"
  },
  "parameters": [
    {
      "name": "term_name",
      "type": "string",
      "type_zh": null,
      "description": {
        "en": "The formatted term name (e.g., Term Name (Taxonomy Label) ).",
        "zh": "格式化后的术语名称（例如 Term Name (Taxonomy Label)）。"
      }
    },
    {
      "name": "term_id",
      "type": "int|string",
      "type_zh": null,
      "description": {
        "en": "The ID of the term.",
        "zh": "术语的 ID。"
      }
    },
    {
      "name": "taxonomy",
      "type": "string",
      "type_zh": null,
      "description": {
        "en": "The slug of the taxonomy.",
        "zh": "分类法的 slug。"
      }
    }
  ],
  "example_usage": "add_filter( 'bricks/builder/term_name', function( $term_name, $term_id, $taxonomy ) {\n    // Example: Add the term ID to the name\n    return $term_name . ' [ID: ' . $term_id . ']';\n}, 10, 3 );"
}