wp_privacy_export_expiration WordPress Filter Hook
The wp_privacy_export_expiration hook allows you to modify the expiration date of a user's personal data export. This hook is useful if you need to extend the expiration date for a user's export, for example if they need more time to download their data.
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. |