apply_filters( 'wp_privacy_export_expiration', int $expiration )
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
- $expiration
-
(int) The expiration age of the export, in seconds.
Source
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |
© 2003–2021 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_privacy_export_expiration