{
  "name": "bricks/acf/google_map/show_as_address",
  "kind": "filter",
  "url": "https://academy.bricksbuilder.io/developer/hooks/filters/bricks-acf-google_map-show_as_address/",
  "scraped_at": "2026-08-29",
  "hook_name": "bricks/acf/google_map/show_as_address",
  "description": {
    "en": "Determines whether the ACF Google Map field dynamic data should be rendered as a formatted address or as latitude/longitude coordinates.",
    "zh": "决定 ACF Google Map 字段动态数据应该渲染为格式化地址，还是渲染为经纬度坐标。"
  },
  "parameters": [
    {
      "name": "show_as_address",
      "type": "bool",
      "type_zh": null,
      "description": {
        "en": "Whether to render as an address. Defaults to true if ACF version >= 5.6.8.",
        "zh": "是否渲染为地址。如果 ACF 版本 >= 5.6.8，默认为 true。"
      }
    },
    {
      "name": "value",
      "type": "array",
      "type_zh": null,
      "description": {
        "en": "The raw value of the ACF Google Map field.",
        "zh": "ACF Google Map 字段的原始值。"
      }
    },
    {
      "name": "field",
      "type": "array",
      "type_zh": null,
      "description": {
        "en": "The ACF field settings.",
        "zh": "ACF 字段设置。"
      }
    }
  ],
  "example_usage": "add_filter( 'bricks/acf/google_map/show_as_address', function( $show_as_address, $value, $field ) {\n    // Force showing latitude and longitude instead of address\n    return false;\n}, 10, 3 );"
}