Back to Filters

Updated on Jun 10, 2024

slimstat_js_params

This filter modifies the parameters sent to the Javascript tracker through wp_localize_script. The parameters include an encoded version of the plugin’s settings.

Usage

$params = apply_filters('slimstat_js_params', $params);

In simple terms, this line gives you a way to customize how WP Slimstat tracks users on your site without having to change the plugin’s code directly.