---
id: gk-foundation-notices-user-state
title: "Filter - gk/foundation/notices/user-state"
sidebar_label: "gk/foundation/notices/user-state"
tags:
  - "1.3.0"
---

# Filter: gk/foundation/notices/user-state

Filters user state changes before they are saved.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $changes | `array` | State changes to apply. |
| $user_id | `int` | User ID. |

### Since

- 1.3.0

### Source

Defined in `Notices/NoticeRepository.php` at line 521

