gReCaptcha::verify( string $response, string $remoteIp = null )
Calls the reCAPTCHA siteverify API to verify whether the user passes CAPTCHA test.
Package
Description Description
Parameters Parameters
- $response
(string) (Required) The value of 'g-recaptcha-response' in the submitted form.
- $remoteIp
(string) (Optional) The end user's IP address.
Default value: null
Return Return
(gReCaptcha_Response) Response from the service.