Last active
December 16, 2021 20:35
-
-
Save kilbot/06f57ee9abe11ac4c3b4d1cda8dd21f9 to your computer and use it in GitHub Desktop.
Bypass Advanced noCaptcha & invisible Captcha (v2 & v3)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// add to your theme functions.php file | |
function woocommerce_pos_anr_verify_captcha_pre($response) { | |
if( function_exists('is_pos') && is_pos() ) { | |
return true; | |
} | |
return $response; | |
} | |
add_filter('anr_verify_captcha_pre', 'woocommerce_pos_anr_verify_captcha_pre', 10, 1); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment