{
  "name": "bricks/form/recaptcha_score_threshold",
  "kind": "filter",
  "url": "https://academy.bricksbuilder.io/developer/hooks/filters/bricks-form-recaptcha_score_threshold/",
  "scraped_at": "2026-08-29",
  "hook_name": "bricks/form/recaptcha_score_threshold",
  "description": {
    "en": "Filters the minimum score required for Google reCAPTCHA v3 validation in Bricks forms. Scores range from 0.0 (likely a bot) to 1.0 (likely a human).",
    "zh": "Bricks 1.4 引入了 bricks/indexer/source/settings/controls 钩子，允许你向自定义索引器数据源的设置中添加自定义控件。"
  },
  "parameters": [
    {
      "name": "score",
      "type": "float",
      "type_zh": null,
      "description": {
        "en": "The minimum score threshold. Default is 0.5 .",
        "zh": "最低分数阈值。默认为 0.5。"
      }
    }
  ],
  "example_usage": "add_filter( 'bricks/form/recaptcha_score_threshold', function( $score ) {\n    // Increase threshold to 0.8 for stricter validation\n    return 0.8;\n} );"
}