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



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


Since: Jetpack 10.6

How to use this hook

See Using actions and filters to customize Jetpack.


Have a note to contribute?