Back to Filters

Updated on Jun 10, 2024


The slimstat_db_filters_normalized filter allows you to modify the array of normalized filters. These filters are set by the admin through dropdown menus in the Slimstat plugin settings.


self::$filters_normalized = apply_filters('slimstat_db_filters_normalized', self::$filters_normalized, $_filters);


  • self::$filters_normalized: The current array of normalized filters.
  • $_filters: parameter can provide additional context or data needed for modifying the filters.

When the plugin is preparing the filters for use, it applies this filter to the array of normalized filters. This gives developers the opportunity to add, remove, or change the filters before they are used.