admin_init

Action Hook System Since 3.7.6

Runs after the JReviews admin is initialized and before a controller action is run.

This action can be useful if you want to ensure that certain classes have already been loaded, or if you want to run another hook action or filter in the administration only.

You need to have a working knowledge of Hooks before you get started.

Boilerplate Code

Use the boilerplate code to start using the filter, and add your own logic to modify the first argument and return it.

Clickfwd\Hook\Action::add('admin_init', function() 
{
  // Execute action or echo output
});
Development & Support
Customizations are not included with support. We provide this information to make it easier for developers to extend the functionality. From time to time we may have some availability for custom work. Get in touch to see if there's an opportunity to work together.

Source

  • /controllers/my_controller.php