Hide widgets when
enable_internet_features = 0 is set in config:
We'd also need to hide the
Latest Marketplace Updates widget
Would it be possible to use
consts for the widget categories/names? If the names change, these new changes might break.
I've updated the PR so it better handles possible name changes of the widgets