---
id: selfAFFECTED_VIEWS_FILTER
title: "Filter - self::AFFECTED_VIEWS_FILTER"
sidebar_label: "self::AFFECTED_VIEWS_FILTER"
---

# Filter: self::AFFECTED_VIEWS_FILTER

Sets how many Views lose features when a product with editions switches back to the base edition.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $count | `int\|null` | Number of Views, or null when the product does not know. Default: null. |
| $text_domain | `string` | The product's text domain, such as 'gk-gravityview'. |

### Since

- TBD: TBD

### Source

Defined in `Licenses/Editions/EditionState.php` at line 808

