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


    Top ↑

    Return Return

    (gReCaptcha_Response) Response from the service.


    Premium WordPress Apps

    Top ↑

    User Contributed Notes User Contributed Notes

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