LLMS_Google_Recaptcha::__construct()


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' );
	}


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.