Skip to main content

Action: gk/foundation/secure-download/before-download

Fires before a file download starts.

Parameters

NameTypeDescription
$file_pathstringThe absolute path to the file.
$user_idintThe user ID downloading the file.
$token_dataarrayThe decrypted token data.

Since

  • 1.3.0

Source

Defined in Components/SecureDownload.php at line 585