Register a callback function (a "hook") that will be called for a given hook name. Hook names are called at specific points during execution and allow some form of extensibility.
use hooks.on() instead
hooks.on()
Description
Register a callback function (a "hook") that will be called for a given hook name. Hook names are called at specific points during execution and allow some form of extensibility.
Deprecated
use
hooks.on()
instead