---
id: gk-foundation-secure-download-save-history
title: "Filter - gk/foundation/secure-download/save-history"
sidebar_label: "gk/foundation/secure-download/save-history"
tags:
  - "1.3.0"
---

# Filter: gk/foundation/secure-download/save-history

Filters whether to store download history.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $should_save | `bool` | Whether to record the download. Default false. |
| $history_record | `array` | The download record to save. |

### Since

- 1.3.0

### Source

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

