---
id: gk-foundation-secure-download-token-data
title: "Filter - gk/foundation/secure-download/token-data"
sidebar_label: "gk/foundation/secure-download/token-data"
tags:
  - "1.3.0"
---

# Filter: gk/foundation/secure-download/token-data

Filters the token data before encryption.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $token_data | `array` | The token data. |
| $file_path | `string` | The absolute path to the file. |
| $args | `array` | The arguments passed to generate_download_url. |

### Since

- 1.3.0

### Source

Defined in `Components/SecureDownload.php` at line 510

