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.
WP Statistics stores some query results in a WordPress transient for one week.
Caching happens automatically when a query’s date range ends before today; any range that includes today, or no date filter at all, runs uncached.
Use the wp_statistics_query_allow_caching
filter to override that decision:
apply_filters( 'wp_statistics_query_allow_caching', $allow, $query );
To override this behaviour for every query, use the filter:
// Always bypass the WP Statistics query cache.
add_filter( 'wp_statistics_query_allow_caching', '__return_false' );
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.