How to rename upload filename? (1 post)

  1. eiffelqiu
    Posted 5 years ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Topic