wp_privacy_delete_old_export_files


wp_privacy_delete_old_export_files ( No parameters )

Defined at:

Description

Cleans up export files older than three days old.

The export files are stored in wp-content/uploads, and are therefore publicly accessible. A CSPRN is appended to the filename to mitigate the risk of an unauthorized person downloading the file, but it is still possible. Deleting the file after the data subject has had a chance to delete it adds an additional layer of protection.

Related Functions

wp_privacy_generate_personal_data_export_file, wp_schedule_delete_old_privacy_export_files, wp_privacy_generate_personal_data_export_group_html, wp_privacy_exports_dir, wp_privacy_exports_url

Top Google Results

User discussions

wpseek mobile