apply_filters( ‘wp_privacy_export_expiration’, int $expiration )

In this article

Filters the lifetime, in seconds, of a personal data export file.

Description

By default, the lifetime is 3 days. Once the file reaches that age, it will automatically be deleted by a cron job.

Parameters

$expirationint
The expiration age of the export, in seconds.

Source

$expiration = apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS );

Changelog

VersionDescription
4.9.6Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.