Skip to main content

Filter: gk/gravityexport/save/settings/copy-files

Dynamic Hook Name

This hook supports dynamic naming with the following modifiers:

  1. rgar($feed, 'form_id', 0)
  2. rgar($feed, 'id', 0)

Example hook names:

  • gk/gravityexport/save/settings/copy-files (base hook)
  • gk/gravityexport/save/settings/copy-files_1 (with first modifier value)
  • gk/gravityexport/save/settings/copy-files_1_2 (with all modifier values)

Modify whether file uploads should be copied to the storage location.

Parameters

NameTypeDescription
$should_copyboolWhether to copy file uploads.

Since

Source

Defined in add-ons/save/src/Feature/CopyFileUploads.php at line 116