Thread Starter
thulag
(@thulag)
I cant use flamingo as flamingo saves the data on the admin dashboard. the forms will contains peoples personal details and this info needs to be in a secure base, and not be accessible from dashboard.
Hooking into Contact Form 7 submissions. Contact Form 7 hooks. CF7 hooks integration. Getting data from CF7 Contact Form 7 submission hook.
This should get you or a developer friend in the right direction:
function wpcf7_track($cf7) {
$submission = WPCF7_Submission::get_instance();
$email = $submission->get_posted_data('your-email');
$name = $submission->get_posted_data('your-name');
//Code to store the data here
}
add_action('wpcf7_before_send_mail', 'wpcf7_track');