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

# Filter: gk/foundation/notices/add

Filters the notice definition data before creating a runtime notice.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $data | `array` | Notice definition data. |
| $type | `string` | Notice type: 'runtime' or 'stored'. |

### Since

- 1.3.0

### Source

- Defined in `Notices/NoticeManager.php` at line 135
- Defined in `Notices/NoticeManager.php` at line 172