#3164 closed New feature (fixed)

Add hooks for plugin Enabled and plugin Disabled

Reported by: matt Owned by:
Priority: normal Milestone: Piwik 1.8
Component: Core Keywords:
Cc: Sensitive: no


So that plugin authors can run code to reinit objects, etc. when plugin is enabled / disabled

Change History (1)

comment:1 Changed 23 months ago by matt (mattab)

  • Resolution set to fixed
  • Status changed from new to closed

(In [6427]) Fixes #3164 - Adding 2 new functios to allow piwik plugins to hook on enable / disable
it only takes to define the 2 functions in the plugin class activate() and/or deactivate()

Note: See TracTickets for help on using tickets.