Skip to content

Instantly share code, notes, and snippets.

@MarkKevin08
Created July 19, 2023 08:44
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 MarkKevin08/59b01f9d963c33091f2ce114e876490a to your computer and use it in GitHub Desktop.
Save MarkKevin08/59b01f9d963c33091f2ce114e876490a to your computer and use it in GitHub Desktop.
WPUM - Change the reCaptcha v3 required score
add_filter( 'wpum_recaptcha_score_threshold', 'my_recaptcha_score' );
function my_recaptcha_score( $score ) {
/*
* Return a score between 1 and 0.1.
* A lower score will let through more results.
*/
return 0.3;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment