Skip certain forms from saving data to database
-
Hi,
Fantastic plugin thanx!
I’m using Contact Form 7 with CFDB.
Versions:
WP: 4.9.7
CF7: 5.0.3
CFDB: 2.10.29I would like to skip certain forms from saving the data to the database.
I’m using thecfdb_form_datafilter which is working 100%. The only problem is I’m not sure what to return to make sure the plugin will skip saving the data. Currently I’m returning a false value (also tried an empty object) but it still saves the data. When viewing the data, there is a form called ‘Unknown’ with a single column called ‘Submitted’ and value of ’01 Jan 1970′.Is there another filter I’m missing or what am I doing wrong?
Thanks in advance for your assistance.
Chris
The topic ‘Skip certain forms from saving data to database’ is closed to new replies.