What are Hooks in Codeigniter?
Hooks are a feature in codeigniter which help the user to change the inner working without having to change the core files. They are represented by application/config/hooks.php.
file. Hooks are more often to be used in executing a script with a particular path within codeigniter.