Title: Add function
Last modified: January 29, 2018

---

# Add function

 *  Resolved [dfart](https://wordpress.org/support/users/dfart/)
 * (@dfart)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-function/)
 * I would like to add the function that the forms reach my email in .CSV format
 * I have a PHP file with the written code to do the function I want it to do but
   I can not find where to put it or how to tell the program to use that code for
   the forms.
 * Could you help me with my problem?
 * Thank you.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-function/#post-9914463)
 * You write a WordPress plugin and register your function as `cforms2_after_processing_action`.
   You function has to have one argument whose structure is not documented very 
   well, but is obvious if you `var_dump` or debug it.
 *  Thread Starter [dfart](https://wordpress.org/support/users/dfart/)
 * (@dfart)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-function/#post-9929957)
 * Thank you for your answer, but since my knowledge is not so advanced in the field
   of programming, I would like to know if you could help me by explaining in another
   way how I would have to do to make that function be applied.
 * Thank you and forgive my lack of knowledge.
 *  Plugin Author [bgermann](https://wordpress.org/support/users/bgermann/)
 * (@bgermann)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-function/#post-9930097)
 * I am sorry, but this is not the place for a PHP development tutorial.
 * Please read your original thread and follow the advise that I gave about using
   CFDB.
 *  Thread Starter [dfart](https://wordpress.org/support/users/dfart/)
 * (@dfart)
 * [8 years, 3 months ago](https://wordpress.org/support/topic/add-function/#post-9930147)
 * [@bgermann](https://wordpress.org/support/users/bgermann/) I understand, thank
   you for your response and your valuable help.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Add function’ is closed to new replies.

 * ![](https://ps.w.org/cforms2/assets/icon-128x128.png?rev=1010031)
 * [cformsII](https://wordpress.org/plugins/cforms2/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cforms2/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cforms2/)
 * [Active Topics](https://wordpress.org/support/plugin/cforms2/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cforms2/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cforms2/reviews/)

 * 4 replies
 * 2 participants
 * Last reply from: [dfart](https://wordpress.org/support/users/dfart/)
 * Last activity: [8 years, 3 months ago](https://wordpress.org/support/topic/add-function/#post-9930147)
 * Status: resolved