title: Access form data after submitting Contact Form 7
body: <p>I installed Contact Form 7 and I would like to access the form data after or before the email is sent. Ideally I don't need an email to be sent, I just need the form data in order to populate <code>custom fields</code></p>
  <p>What I found so far is this:</p>
  <pre><code>add_action('wpcf7_mail_sent', function ($cf7) {
      // Run code after the email has been sent
      echo $cf7;
      die();
  });
  </code></pre>
  <p>After adding the above action to <code>functions.php</code>, the form action never completes. I want to view the data, find the postID and create the custom fields.</p>
  <p>Any help is appreciated.</p>