JReviews logo Docs
Menu
Version

admin_init

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

Action
System
Since 3.7.6

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

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.

Boilerplate Code

Use the boilerplate code to start using the action, and add your own logic or echo output.

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 Files

  • /controllers/my_controller.php