getValue(); if (!$reCaptchaPrivateKey) return true; $reCaptcha = new \ReCaptcha\ReCaptcha($reCaptchaPrivateKey); $reCaptchaValidation = $reCaptcha->verify($reCaptchaResponse, $_SERVER['REMOTE_ADDR']); return $reCaptchaValidation->isSuccess(); } }