Translations:Manual:Hooks/3/en

Assign functions to hooks at the end of $1 or in your own extension file at the file scope (not in a $2 function or the $3 hook).