arshidkv12 / contact-form-cfdb7

Database addon for Contact Form 7 WordPress plugin. Save and manage Contact Form 7 messages.
https://ciphercoin.com
GNU Affero General Public License v3.0
13 stars 28 forks source link

Captcha Response #11

Closed gregorytoscano closed 6 years ago

gregorytoscano commented 6 years ago

image

Is there anyway to not record the re-captcha response? Above is the image of my CSV

This is the Captcha we are using: image

arshidkv12 commented 6 years ago

Add following code in your theme functions.php

add_filter('cfdb7_before_save_data', 'remove_captcha_cfdb7');
function remove_captcha_cfdb7( $form_data ){
  unset($form_data['G-recaptcha-response']);
   return $form_data;
}