Clean Uploads Folder
The upload folder path (default path: /wp-content/uploads/
) is fetched using the wp_get_upload_dir()
function and then all files and folders in it are deleted recursively using unlink()
.
The tool does not touch the database. If you have any files associated with media entries they will be deleted too, and you’ll end up will orphaned media entries. Make sure you manually delete those media entries through WP admin – Media or use our content cleaning tool to do it.