Filters whether the bundled Premium Analytics dashboard is enabled. Read on `plugins_loaded`, and only while the Stats module is active. Register this from a mu-plugin or a plugin’s main file: a callback added on `plugins_loaded` or later runs too late.
Parameters
- $enabled
bool Defaults to the `jetpack_premium_analytics_enabled` option (false), or true once the classic Stats page is retired.
Changelog
- Introduced in Jetpack jetpack-16.1