Blog: How to create a widget – Introducing the Matomo Platform
…$category = ‘Example Company’; public function init() { // Registers a widget named ‘News’ under the category ‘Example Company’. // The method ‘myCorporateNews’ will be used to render the widget….