Filters

slimstat_db_pre_filters

Applies to SlimStat 6.0.0 · checked

This filter receives the raw report filter string before normalization. Return a valid filter string and preserve any access restrictions imposed by the surrounding report.

Callback signature

add_filter( 'slimstat_db_pre_filters', function ( $filters ) {
    return $filters;
} );

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