Plugin Author
Michael
(@mikeyhoward1977)
Hi @swoboda,
This has been a talking point for a while now. We use built-in WordPress functions to delete sites. Your question is also discussed here.
Per my edited note below, WordPress should delete uploaded files. So long as it can determine the path to the uploads folder
-
This reply was modified 5 years, 6 months ago by
Michael.
-
This reply was modified 5 years, 6 months ago by
Michael.
Plugin Author
Michael
(@mikeyhoward1977)
To correct myself and be more accurate, WordPress does delete the files on site deletion. At least it tries to. It seems to be a little hit and miss but the code to delete all the directories and files does exist. Therefore our plugin will also delete files
I just created a test demo site with our plugin, uploaded a file and then had the plugin delete the site once it had expired. The file I uploaded was also removed.
If you have a large number of files to delete, then this is a costly function to run so it could be that WordPress does not delete the files in those situations. We’ll look into it a little more
-
This reply was modified 5 years, 6 months ago by
Michael.