• Resolved GreatBlakes

    (@greatblakes)


    I see the do_action( 'cfdb7_before_save_data', $form_data ); in contact-form-cfdb-7.php which is useful to do other things with the form data, but could you add a filter before that so that we can manually include data with the form submissions?

    I’m requesting one line be added to this file above the do_action() mentioned above:

    $form_data = apply_filters('cfdb7_before_save_data', $form_data);

    This will combine any other data that is manually hooked to it so we can store custom pieces of information along with each form submission.

    I’ll be making a pull request on Github, but I wanted to mention it here too.

    Edit: Here’s the pull request: https://github.com/arshidkv12/contact-form-cfdb7/pull/2

    • This topic was modified 6 years, 10 months ago by GreatBlakes.
Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘Can we add a filter prior to the DB insert?’ is closed to new replies.