Filter: gform_file_path_pre_delete_file
Allow the file path to be overridden so files stored outside the /wp-content/uploads/gravity_forms/ directory can be deleted.
Parameters
| Name | Type | Description |
|---|---|---|
| $file_path | string | The path of the file to be deleted. |
| $url | string | The URL of the file to be deleted. |
Since
Source
Defined in forms_model.php at line 2447