---
id: gk-foundation-icon-picker-aliases
title: "Filter - gk/foundation/icon-picker/aliases"
sidebar_label: "gk/foundation/icon-picker/aliases"
tags:
  - "1.40.0"
---

# Filter: gk/foundation/icon-picker/aliases

Filters the old names that draw as a current icon, such as names a product saved before it used this set.

The set's own aliases always win, and an entry is skipped when its old name is an icon or its new one is not.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $aliases | `array<string,string>` | Old name =&gt; icon name. Default empty. |

### Since

- 1.40.0

### Source

Defined in `Icons/Icons.php` at line 508

