• Having a problem that all messages sent via the contact form are being sent to spam.

    Have tried adding

    add_filter( ‘wpcf7_recaptcha_verify_response’,
    function( $is_human, $response_body ) {
    $score = isset( $response_body[‘score’] ) ? $response_body[‘score’] : 0;
    $threshold = 0.3;
    $is_human = $threshold < $score;
    return $is_human;
    },
    10, 2
    );

    to the function.php but even with the threshold set to 0 messages are still sent to spam.

    What am I doing wrong?

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘All contacts being sent to spam’ is closed to new replies.