Filter: gform_media_upload_path
Filter the media upload location.
Parameters
| Name | Type | Description |
|---|---|---|
| $upload_dir | array | The current upload directory’s path and url. |
| $form_id | int | The ID of the form currently being processed. |
| $post_id | int | The ID of the post created from the entry currently being processed. |
Source
Defined in forms_model.php at line 5356