Filter: gk/gravityexport/renderer/save-path
Dynamic Hook Name
This hook supports dynamic naming with the following modifiers:
(int) \rgar($this->form, 'id', 0)
Example hook names:
gk/gravityexport/renderer/save-path(base hook)gk/gravityexport/renderer/save-path_1(with first modifier value)
Modifies the path the rendered export file is saved to.
Applies to every saved render: notification attachments, scheduled and bulk exports. A file saved for a notification attachment is deleted right after its email is sent.
Parameters
| Name | Type | Description |
|---|---|---|
| $file | string | The full path to save the file to. Default: the temp directory plus the export file name. |
| $form | array | The form object. Can be empty for renders without a form context. |
Since
- 2.7.0
Source
Defined in src/Renderer/AbstractPHPExcelRenderer.php at line 111