@mattab opened this Issue on November 20th 2013 Member

The Site object holds information about a particular website.

There are already a few ways a plugin developer can modify data for a website: updating it via the SitesManager API, create new tables to store data, create new APIs to expose new website features.

However when building plugins we sometimes simply need to filter the website attribute data.

For this I propose to add a new hook in the Site object, that would let plugin developers change website data in memory. Several plugins could filter this way.

@mattab commented on November 20th 2013 Member

In 9b2cfafe7373c1871b88523addabaa40574aa456: Fixes #4325 New hook to let plugins change the attributes for a website + moving helper getMinMaxDateAcrossWebsites to Site object

@mattab commented on November 20th 2013 Member

In d87c9a6bef0eea8f459d1d95e18bd706c567ec03: Refs #4325 Making the new Site hook used piwik wide so that when eg. a site name is decorated, it appears in most places decorated.

This Issue was closed on November 20th 2013
Powered by GitHub Issue Mirror