Quantcast
Channel: WordPress.org Forums » [Forminator Forms – Contact Form, Payment Form & Custom Form Builder] Support
Viewing all articles
Browse latest Browse all 1438

Extract Uploaded File’s Base Name and Output Using Post Custom Data

$
0
0

Replies: 1

Hi there,

I have been struggling to find a way to extract only the base name of a media file that is uploaded via the Forminator file upload field. I’m talking about the last section of the file URL path that contains the file name and file extension. For example, filename.fileextension

Then I just need to output this information using Forminator’s Post Custom Data, which I can see in the back end when I view the edit post page after a new post is added. How do I go about achieving this?


Viewing all articles
Browse latest Browse all 1438

Trending Articles