Renaming files uploaded with wp-forms

[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]
1 Comment

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer