Programmatically remove "New Update" Message header on Dashboard

Hi,

I’m taking my first steps in Piwik development so spare my ignorance.

For a non-admin user, I’m trying to not display the header message “New Update: Piwik 2.xx.x”. Looking at the code, it looks like the header template is in plugins/CoreHome/templates/_headerMessage.twig and is triggered by the variable “latest_version_available”.

I don’t want to modify “core” code. Can you offer suggestions on how I can override this variable or template?

Thanks.

To remove this update message, you simply need to set a config entry, see FAQ: How do I disable the update notification email when a new Piwik version is released? - Analytics Platform - Matomo