How to enable codeigniter hook?



How to enable codeigniter hook?..

Answer / Arun Singh

To enable a CodeIgniter hook, you can create a new PHP file in the application/hooks directory and define the required methods. Then, register the hook in your application/config/autoload.php file by adding it to the $autoload['hooks'] array.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More CodeIgniter Interview Questions

What are hooks in codeigniter? List them?

1 Answers  


What is base controller in codeigniter?

1 Answers  


What is meant by codeigniter?

1 Answers  


Explain codeigniter file structure?

1 Answers  


What is library in codeigniter?

1 Answers  


What is codeigniter php?

1 Answers  


Can I cache only certain parts of a page?

1 Answers  


Is codeigniter a cms?

1 Answers  


What is codeigniter framework?

1 Answers  


How many types of hooks are there in codeigniter?

1 Answers  


Is codeigniter secure?

1 Answers  


How you will use or add codeigniter libraries?

1 Answers  


Categories