| @@ -7,13 +7,22 @@ | ||
| 7 | 7 | * @since 6.0 |
| 8 | 8 | */ |
| 9 | 9 | class FrmFieldCaptchaSettings { |
| 10 | 10 | |
| 11 | + /** | |
| 12 | + * @var string | |
| 13 | + */ | |
| 11 | 14 | public $secret; |
| 12 | 15 | |
| 16 | + /** | |
| 17 | + * @var string | |
| 18 | + */ | |
| 13 | 19 | public $token_field; |
| 14 | 20 | |
| 15 | - public $end_point; | |
| 21 | + /** | |
| 22 | + * @var string | |
| 23 | + */ | |
| 24 | + public $endpoint; | |
| 16 | 25 | |
| 17 | 26 | public function __construct( $frm_settings ) { |
| 18 | 27 | if ( $frm_settings->active_captcha === 'recaptcha' ) { |
| 19 | 28 | $this->secret = $frm_settings->privkey; |