---
title: fluentforms/recaptcha_v3_ref_score
description: "## Description  This filter returns the score for Recaptcha version 3. Use this filter to change the default value to 0.5. ```php apply_filters('fluentforms/recaptcha_v3_ref_score', 0.5); ``` ## Usage   ```php add_filter('fluentforms/recaptcha_v3_ref_score', function($score) { return $score; }); ``` ## Placement This code should…"
url: "https://fluentforms.com/docs/fluentforms_recaptcha_v3_ref_score/"
updated: "2023-07-24"
category: Filter Hooks
---

# fluentforms/recaptcha_v3_ref_score

## Description 

This filter returns the score for Recaptcha version 3. Use this filter to change the default value to 0.5.

```php
apply_filters('fluentforms/recaptcha_v3_ref_score', 0.5);
```

## Usage  

```php
add_filter('fluentforms/recaptcha_v3_ref_score', function($score) {
    return $score;
});
```

## Placement

This code should be placed in the [functions.php](http://codex.wordpress.org/Theme_Development#Functions_File) file of your active theme.

## Source Code

This filter is located in FluentForm\App\Modules\ReCaptcha\ReCaptcha -> validate($token, $secret = null, $version = ' v2_visible')
