is_captcha_required filter
-
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)
Viewing 1 replies (of 1 total)
The topic ‘is_captcha_required filter’ is closed to new replies.