Support

Account

Home Forums ACF PRO FILE field ovewrite upload

Helping

FILE field ovewrite upload

  • Hy guys,

    I have a file field set up, and i would like to overwrite the file i am uploading each time.

    I will always upload a file with the same name, and i need the url for this file to always be the same.
    Is there a option to check new file name vs old file name on upload and if they are the same then delete the old file?

    Thank you!

  • No, there is not. This is not generally how WP uploads files.

    Try this: https://wordpress.org/plugins/enable-media-replace/

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.

We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Cookie Policy. If you continue to use this site, you consent to our use of cookies.