Copying this from the docs caused
and fixing it caused
Call to undefined method Piwik\Plugins\API\Reports\Get::getCategory()
getCategoryId() shows that
Actions is not correct either. But using
General_Actions doesn't remove any menus either, even though
unset is called.
I feel like the first person using these APIs (refs #19389)
Never mind, it actually removes some things. E.g. using
Referrers_Referrers will still leave one menu/widget intact for some reason?
None of the reports in
filterReports have category
Marketplace_Marketplace. So this might be a timing issue? Are these added after
filterReports was called?