New hook to let plugins change the attributes for a website #4325
Labels
Enhancement
For new feature suggestions that enhance Matomo's capabilities or add a new report, new API etc.
Milestone
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.
The text was updated successfully, but these errors were encountered: