Change Fluent Form file name and upload path

tdrayson

A snippetclub.com member wanted a way to change the upload file path and name of the file that gets uploaded with Fluent Form.

Fluent forms has some handy hooks that we can use to achieve this.

Changing file upload path

Add the code below to your functions.php or code snippet plugin.

The two important lines in our snippet are line 2 and 7.

  • Line 2 – ID of your form
  • Line 7 – Path to your file

Members content only

Become a snippetclub.com member to gain instant access to this tutorial plus tons more premium content.

Already a member? Log in below.

Login Form

👋🏻 Weekly Tutorial Digest

I send out a weekly newsletter with links to new tutorials written in the last week, you can subscribe below.

Newsletter

🔒I won't send you spam, I promise