---
id: gk-gravityboard-attachments-blocked-extensions
title: "Filter - gk/gravityboard/attachments/blocked-extensions"
sidebar_label: "gk/gravityboard/attachments/blocked-extensions"
tags:
  - "1.6.0"
---

# Filter: gk/gravityboard/attachments/blocked-extensions

Filters the file extensions refused on a board that allows every file type.

Every extension in a file name is checked, so `report.php.jpg` is refused for `php`. Remove an extension from the list only when the site serves that type safely.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $extensions | `string[]` | Lowercase extensions, without the dot. |

### Since

- 1.6.0

### Source

Defined in `src/Attachments/Attachments.php` at line 1298

