I'm a complete Wordpress Newbie and I'm confused on exactly how hooks work. I've been trying to use Contact Form 7 to send information to an external database, and so far I've found a plugin that seems to do exactly that. But where exactly should I be putting this code?
In WordPress, you can add a hook or filter in two ways.
For example, the link you have added plugin.
Both option has it prons and crons.