Hi,
I'm using a file filed from the metabox builder.
The file is uploaded to a custom folder, works well.
I would like to enable the uploaded file to overwrite existing file if already exist in the destination folder.
Can you help please?
Regards
There isn't an option to overwrite an existing file if it already exists, WordPress itself also doesn't support this feature. If you are familiar with coding, please take a look at this snippet as a reference https://gist.github.com/robbennet/7305119