Filters the lifetime, in seconds, of a personal data export file.
By default, the lifetime is 3 days. Once the file reaches that age, it will automatically be deleted by a cron job.
$expirationint
$expiration = apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS );
| Version | Description |
|---|---|
| 4.9.6 | Introduced. |
© 2003–2024 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/hooks/wp_privacy_export_expiration