Rename rtMedia Upload Folder


Hey all. I know we can rename the upload Folder by using rtmedia_filter_upload_dir but i dont know how. Can anyone please give me the complete Code I have to put in the functions.php (or where to put else)?

would highly appreciate that.

Thanks in advance


Hi @flipstar,

We have added new hook in rtMedia to rename rtMedia upload directory. It will be available in next release. For more information refer this documentation


Hi @flipstar,

If you are in hurry, you may refer this code


thnx pranalipatel… worked great!


Hi @flipstar,

I am glad to know that your issue has been solved.