apply_filters ( 'jetpack_stats_excluded_ips', array $excluded_ips )

Allow excluding specific IP addresses from being tracked in Stats.<p>Note: for this to work well, visitors' IP addresses must:</p> <ul> <li>be stored and returned properly in IP address headers;</li> <li>not be impacted by any caching setup on your site.</li> </ul>

Source file: modules/stats.php

View in GitHub

Parameters

$excluded_ips

(array) An array of IP address strings to exclude from tracking.


Changelog

Since: Jetpack 10.6


Notes

Have a note to contribute?

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s