I'm working through the second post in this thread, so I can call a custom method from jQuery. https://stackoverflow.com/questions/4834132/how-to-pass-jquery-variable-to-drupal-ajax
(I already have a html form, so the Forms API doesn't really help me)
The post mentions a menu_hook, but always describes the hook, as belonging to a module. I only plan on adding one method, so I don't really want (or know) how to create a module from scratch.
Is it possible to add the menu hook to my template.php, or another file which already exists?