First of all an awesome plugin so thank you for creating this one! We are using the upload file option for product and they are nicely attached to orders. But how do you delete the files that are attached to the order when the amount starts to get pretty large as time goes on?
Thank you for the reply. That is a good idea :) I was looking for maybe some "Delete files older than x days". Where the x could be determined by the user? If it's 0 it could be indefinetly and if it is 180. The file would be deleted after 180 days. It would enable some automatic cleanup that would be really good. You think that could be a feature at somepoint?
Hey there,
First of all an awesome plugin so thank you for creating this one! We are using the upload file option for product and they are nicely attached to orders. But how do you delete the files that are attached to the order when the amount starts to get pretty large as time goes on?
ps. I was directed here from the wordpress forums at: https://wordpress.org/support/topic/how-are-the-upload-files-handled/#post-18071922
Cheers,
NikoV
Hi Niko,
All files were uploaded to the folder wp-content/uploads/wpcpo_uploads.
Currently, you can use a file manager plugin (e.g., https://wordpress.org/plugins/filester/) to browse files in this folder and manually delete old files.
In the next version, I'll add the date to the folder name so you can more easily manage the uploaded files.
Best regards,
Dustin
Hey Dustin,
Thank you for the reply. That is a good idea :) I was looking for maybe some "Delete files older than x days". Where the x could be determined by the user? If it's 0 it could be indefinetly and if it is 180. The file would be deleted after 180 days. It would enable some automatic cleanup that would be really good. You think that could be a feature at somepoint?
Thanks for that idea!
We will implement this feature in the future.
Best regards,
Dustin
Awesome thank you! Have great rest of the week o/