[ad_1]
Is there an ideal way to rename a file once it is uploaded with wp-forms? There does not seem to be a wp hook that will allow this.
I see the file data in the $fields variable has the full url of the file but I need the local path in order to move/rename/copy it.
[ad_2]
What about using [https://wpforms.com/developers/wpforms_process_before/](https://wpforms.com/developers/wpforms_process_before/) and looking at the $form_data value?