Skip to content

Instantly share code, notes, and snippets.

@kilbot
Last active December 16, 2021 20:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kilbot/06f57ee9abe11ac4c3b4d1cda8dd21f9 to your computer and use it in GitHub Desktop.
Save kilbot/06f57ee9abe11ac4c3b4d1cda8dd21f9 to your computer and use it in GitHub Desktop.
Bypass Advanced noCaptcha & invisible Captcha (v2 & v3)
<?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