Hook for prevent to execute the handle_captcha function
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.
مشاهده پاسخ های این مطلب
———————————————
این مطلب از سایت انجمن وردپرس گردآوری شده است و کلیه حقوق مطلق به انجمن وردپرس می باشد در صورت مغایرت و یا بروز مشکل اطلاع دهید تا حذف گردد
منبع: انجمن وردپرس