LJ::register_hook — Installs a site-specific hook.
LJ::register_hook
(hookname, subref);
hookname. Name of hook. See doc/hooks.txt.
subref. Subroutine reference to run later.
Installing multiple hooks per hookname is valid. They're run later in the order they're registered.
cgi-bin/ljlib.pl