{
  "name": "bricks/dynamic_data/author_value",
  "kind": "filter",
  "url": "https://academy.bricksbuilder.io/developer/hooks/filters/bricks-dynamic_data-author_value/",
  "scraped_at": "2026-08-29",
  "hook_name": "bricks/dynamic_data/author_value",
  "description": {
    "en": "Filters the value returned by {author_...} dynamic data tags (e.g., {author_name} , {author_email} ).",
    "zh": "使用此筛选器可在 Bricks 模板设置面板中将可用的日期格式设置为所选格式。"
  },
  "parameters": [
    {
      "name": "value",
      "type": "string",
      "type_zh": null,
      "description": {
        "en": "The value of the author field.",
        "zh": "author 字段的值。"
      }
    },
    {
      "name": "field_type",
      "type": "string",
      "type_zh": null,
      "description": {
        "en": "The specific author field being retrieved (e.g., name , email , bio , website , avatar ).",
        "zh": "正在被检索的特定 author 字段（例如 name、email、bio、website、avatar）。"
      }
    },
    {
      "name": "filters",
      "type": "array",
      "type_zh": null,
      "description": {
        "en": "Array of modifiers applied to the tag (e.g., ['fallback' => '...'] ).",
        "zh": "应用于标签的修饰符数组（例如 ['fallback' => '...']）。"
      }
    }
  ],
  "example_usage": "add_filter( 'bricks/dynamic_data/author_value', function( $value, $field_type, $filters ) {\n    // Example: Append text to author bio\n    if ( $field_type === 'bio' ) {\n        return $value . ' [Verified Author]';\n    }\n\n\n    return $value;\n}, 10, 3 );"
}