WordPress.org

Support

Support » Plugins and Hacks » Hacks » How to rename upload filename?

How to rename upload filename?

  • It seems that every upload file keep its original name in wordpress, i want to keep the filename is a consistent way, that means using hash value or timestamp as filename. can i do this in wordpress?

    I read the source code, in file.php it seems i can create a callback unique_filename_callback , but i do not know to do this ?

    any help will be appreciated.

  • The topic ‘How to rename upload filename?’ is closed to new replies.