{
  "name": "bricks/builder/post_title",
  "kind": "filter",
  "url": "https://academy.bricksbuilder.io/developer/hooks/filters/bricks-builder-post_title/",
  "scraped_at": "2026-08-29",
  "hook_name": "bricks/builder/post_title",
  "description": {
    "en": "Filters the post title displayed in the Bricks builder interface (e.g., in search results, dropdowns, and lists).",
    "zh": "筛选 Bricks 构建器界面中显示的文章标题（例如在搜索结果、下拉菜单和列表中）。"
  },
  "parameters": [
    {
      "name": "title",
      "type": "string",
      "type_zh": null,
      "description": {
        "en": "The post title.",
        "zh": "正在编辑的文章标题。"
      }
    },
    {
      "name": "post_id",
      "type": "int",
      "type_zh": null,
      "description": {
        "en": "The ID of the post.",
        "zh": "文章的 ID。"
      }
    }
  ],
  "example_usage": "add_filter( 'bricks/builder/post_title', function( $title, $post_id ) {\n    // Example: Append the post ID to the title\n    return $title . ' (ID: ' . $post_id . ')';\n}, 10, 2 );"
}