The hook function. The first argument is the context in which the hook is called. If the hook uses callbacks, the callback function is passed as the second argument.