Filters

slimstat_init_options

Applies to SlimStat 6.0.0 · checked

This filter receives the settings array when SlimStat initializes. It changes the in-memory settings for the request; it does not automatically persist changes. Avoid remote requests or expensive work in a callback that can run during tracking.

Callback signature

add_filter( 'slimstat_init_options', function ( $settings ) {
    return $settings;
} );

Test callbacks on staging with your tracking mode and report context. See the database API and building an add-on.