{"id":4009492,"date":"2013-08-08T18:30:01","date_gmt":"2013-08-08T18:30:01","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/custom-functions-2\/"},"modified":"2016-08-21T03:45:23","modified_gmt":"2016-08-21T03:45:23","slug":"custom-functions-2","status":"closed","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/custom-functions-2\/","title":{"rendered":"Custom Functions"},"content":{"rendered":"<p>I&#8217;m trying to add a custom php function to be used withing a form. Where should I add it? I&#8217;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?<\/p>\n<p>https:\/\/wordpress.org\/plugins\/db-toolkit\/<\/p>\n","protected":false},"template":"","class_list":["post-4009492","topic","type-topic","status-closed","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4009492","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/4009492\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=4009492"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}