Translations:Manual:Hooks/711/en

Hooks can be added from any point in the execution before the hook is called, but are most commonly added in $2, its included files, or, for extensions, in the file extension.json.