Action: gk/foundation/secure-download/before-download
Fires before a file download starts.
Parameters
| Name | Type | Description |
|---|---|---|
| $file_path | string | The absolute path to the file. |
| $user_id | int | The user ID downloading the file. |
| $token_data | array | The decrypted token data. |
Since
- 1.3.0
Source
Defined in Components/SecureDownload.php at line 585