• Resolved Avinash Patel

    (@avinashdigitl)


    I am adding custom text-field into my contact form using wpcf7_add_form_tag hook. When i submit my contact form, at that time i have noticed this plugin is storing my custom text-field value into database and display in admin in this page admin.php?page=cfdb7-list.php.

    How can i prevent this? For some security reason i do not want to save anywhere my custom added text field value into site anywhere.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author Arshid

    (@arshidkv12)

    Add following code.

    
    add_filter('cfdb7_before_save_data', 'cfdb7_remove');
    
    function cfdb7_remove($data){
    
      unset($data['add-field-name-here']);
      return $data;
    }
    Thread Starter Avinash Patel

    (@avinashdigitl)

    Thanks, this had resolve my issue.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Do not store custom tag value’ is closed to new replies.