9a5b3b353d
Now @hack class and method annotations can be used to register code hacks as an alternative to using before_ methods. The syntax is /* @hack HackClassName param1 param2 */ where parameters will be passed to the class constructor. If the class name ends with "Hack", then that suffix can be omitted (e.g. "Foo" can be specified instead of "FooHack"). |
||
---|---|---|
.. | ||
hacks | ||
code-hacker-test-hook.php | ||
code-hacker.php |