I am using quite a few Formidable hooks for functions in my functions.php file, but would like to move those into an external case that will only load for pages using Formidable.
I can create a custom plugin, but not sure what code to use to call it when a page is using a form.