• Resolved jk_gabba

    (@jk_gabba)


    I need to disable captcha for one specific register page submission with a custom html form on it, i think the is_captcha_required hook should be able to do this, but I’m not sure where to call it and there is very little documentation on it.

    Would hooking into register_post be the correct place, or user_register, or does it need to be removed from both places?

    function disablecap( $user_login, $user_email, $errors ) {
    if($this == true){
    add_filter( ‘wordfence_ls_require_captcha’, ‘__return_false’ );
    }
    }
    add_action( ‘register_post’, ‘disablecap’, 10, 3 );

Viewing 1 replies (of 1 total)
  • Plugin Support wfpeter

    (@wfpeter)

    Hi @jk_gabba,

    There is a wordfence_ls_require_captcha function mentioned in our help documentation to disable the CAPTCHA in circumstances of your choice: https://www.wordfence.com/help/login-security/#customizing-captcha-behavior-with-wordpress-filters

    This is currently the best workaround for occasions you’d like to disable the CAPTCHA check on specific pages, although we cannot support or check custom code ourselves here. The ability to pick pages to exclude reCAPTCHA from within the plugin has already been suggested and logged as a potential feature. We can’t provide ongoing updates here on the forums about the status of such features and will document any future releases’ alterations in our changelog.

    I hope that helps you out!
    Peter.

Viewing 1 replies (of 1 total)

The topic ‘is_captcha_required filter’ is closed to new replies.