• Resolved crodriguez1991

    (@crodriguez1991)


    Hello guys.

    I would like to ask you if you have a way to prevent to use the handle_captcha function if a user is logged in from a custom way using the following WordPress function

    wp_signon

    This function fires the ‘authenticate‘ filter that it’s used on your plugin for execute your functions.

    Is there any way I can bypass your check if I’m using a custom login form that doesn’t need your recaptcha?

    Other plugin like CAPTCHA 4WP has a filter to prevent to bypass it.

    $pre_check = apply_filters( 'c4wp_verify_captcha_pre', null, $response );

    Then we can use the following filter to by pass it in our code.

    add_filter( 'c4wp_verify_captcha_pre', '__return_true' );

    Thanks for your time.

    I’m looking forward your response.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘Hook for prevent to execute the handle_captcha function’ is closed to new replies.