. . "A hook is a mechanism to perform some actions or alter some data before or after some event." . .