In this article

filter

jetpack_premium_analytics_enabled

Filters whether the bundled Premium Analytics dashboard is enabled. Resolved once, from `Jetpack::configure()` on `plugins_loaded`. Register this from a mu-plugin or a plugin’s main file — a callback added on `plugins_loaded` or later runs too late to be seen.

Parameters

$enabled
bool

Defaults to the `jetpack_premium_analytics_enabled` option (false).

Changelog

How to use this hook

See “How to use actions and filters to customize Jetpack”.