Title: Custom Functions
Last modified: August 21, 2016

---

# Custom Functions

 *  [broganm](https://wordpress.org/support/users/broganm/)
 * (@broganm)
 * [13 years, 2 months ago](https://wordpress.org/support/topic/custom-functions-2/)
 * I’m trying to add a custom php function to be used withing a form. Where should
   I add it? I’ve tried adding to libs/functions.php but I get a server error. Same
   thing if I add the function any of the other functions files withing DB Toolkit.
   What am I doing wrong?
 * [http://wordpress.org/plugins/db-toolkit/](http://wordpress.org/plugins/db-toolkit/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [David Cramer](https://wordpress.org/support/users/desertsnowman/)
 * (@desertsnowman)
 * [13 years, 1 month ago](https://wordpress.org/support/topic/custom-functions-2/#post-4009892)
 * Tricky to do simply.
 * It depends on what you are wanting to do.
    Maybe take a look at form_processors
   folder under data_form You can see from there on how to create them.

Viewing 1 replies (of 1 total)

 The topic ‘Custom Functions’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/db-toolkit_f3f3f3.svg)
 * [DB Toolkit](https://wordpress.org/plugins/db-toolkit/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/db-toolkit/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/db-toolkit/)
 * [Active Topics](https://wordpress.org/support/plugin/db-toolkit/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/db-toolkit/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/db-toolkit/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [David Cramer](https://wordpress.org/support/users/desertsnowman/)
 * Last activity: [13 years, 1 month ago](https://wordpress.org/support/topic/custom-functions-2/#post-4009892)
 * Status: not resolved