View Categories

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.

apply_filters('fluentforms/recaptcha_v3_ref_score', 0.5);

Usage   #

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

Placement #

This code should be placed in the functions.php file of your active theme.

Source Code #

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