Skip to content

Developer doc: script to auto generate list of available hooks in piwik #5684

@mattab

Description

@mattab

The goal is to provide a documentation listing the hooks that plugin developers can use to enhance Piwik.
Each hook would be listed with the name, and a quick documentation of the parameters and data array (if any).

Tasks to do:
- decide on a naming convention for naming the hooks in Piwik #613
- how could we auto generate the documentation for the hooks? Example of [drupal list of hooks](http://api.drupal.org/api/group/hooks/6)
- Also provide a sample list of the hooks triggered
– on the dashboard homepage
– in a widget
– during archiving
This could be done by adding logging in the plugin hook handling code.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EnhancementFor new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.MajorIndicates the severity or impact or benefit of an issue is much higher than normal but not critical.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions