slimstat_db_filters_normalized
Applies to SlimStat 6.0.0 · checked
This filter receives the normalized filter array and the raw filter string. Return the array without removing date, site or access restrictions required by the caller. Validate numeric limits if your callback changes them.
Callback signature
add_filter( 'slimstat_db_filters_normalized', function ( $filters, $raw ) {
return $filters;
}, 10, 2 );
Test callbacks on staging with your tracking mode and report context. See the database API and building an add-on.