LLMS_Google_Recaptcha::__construct()
Contents
Source Source
File: includes/spam/class-llms-recaptcha.php
public function __construct() {
parent::__construct();
/**
* Minimum score for reCAPTCHA validation.
*
* @since 9.0.0
*/
$this->min_score = apply_filters( 'lifterlms_recaptcha_min_score', ( absint( get_option( 'lifterlms_recaptcha_min_score', 5 ) ) / 10 ) );
/**
* Action name for reCAPTCHA validation.
*
* @since 9.0.0
*/
$this->action = apply_filters( 'lifterlms_recaptcha_action', 'submit' );
}
Expand full source code Collapse full source code View on GitHub