31,003
edits
| Line 62: | Line 62: | ||
= Implement the Hook = | = Implement the Hook = | ||
To use a hook (add or replace a part of code), you first need to already have defined a module (see | To use a hook (add or replace a part of code), you first need to already have defined a module descriptor (see [[Module_development#Create_your_module_descriptor]]), and then you need to do 2 things: | ||
1- add your module to the list of contexts you want to hook on. | 1- add your module to the list of contexts you want to hook on. | ||