Extract Uploaded File’s Base Name and Output Using Post Custom Data
-
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 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.