Plugin Actions
Introduction
Actions are events (or hooks) to which callback functions can be attached.
In the example below, the event is report_add, and the email_subscribers callback is attached to this particular event. Whenever this event is encountered, all the associated plugins that are attached to this event will be executed.
Example:
Reference
Action |
Parameter |
Description |
File |
---|---|---|---|
report_delete |
$incident_id |
Report deleted |
applications/controllers/admin/reports.php |
report_meta |
$incident_id |
Add items to the Report Meta |
applications/themes/default/reports_view.php |
report_form_admin |
|
|
|
|
|
|
|