How to disable “Cache Notice” in admin

If you want to disable that notice in the admin area permanently, use the following filter in your functions.php theme.

add_filter('wp_statistics_cache_status', function ($status) {
    $status['status'] = false;
    return $status;
});
Let’s get started
Take your business to next level

Become part of our growing family of +600,000 users and get the tools you need to make smart choices for your website. Simple, powerful insights are just a click away.