From Wiktionary, the free dictionary
From pre- + hook.
pre-hook (not comparable)
- (music) Before the hook (normally a chorus) of a popular song.
pre-hook (plural pre-hooks)
- (computing, programming) A section of code that runs immediately before a hook call.