Tasos Kakouris
Tasos Kakouris

Reputation: 175

Manipulate data after Contact form 7 is submited

I have contact form 7, form in my Wordpress site. I want when form is submitted (and mail has sent) to pass via post method, the data to onother PHP file. In my last PHP file I have code to send form's data to a CRM system.

I have searched over the internet for a solution. Some people say its easy some other not. But at the end there isn't any example on how to do that. Also I did not found anything in CF7 documentation.

What I found is hook and actions.

The only logical solution I found is that in this link .

But I don't understand where to put the code and how to call it.

Upvotes: 2

Views: 111

Answers (1)

mnme
mnme

Reputation: 634

The best way is to create a custom Plugin. Then you can add the code listed in your link to your Plugin code.

A guide to Plugin development can be found here. A good Plugin template to get you started can be downloaded from here.

Upvotes: 1

Related Questions