Back to Filters

Updated on Nov 06, 2023


This filter is used to decide if a cookie should be sent to the browser for this pageview. Developers can use it, for example, to make Slimstat comply with European privacy laws, by checking if the user has opted out of getting cookies for this site.

$is_set_cookie = apply_filters('slimstat_set_visit_cookie', true);