wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_privacy_export_expiration › WordPress Filter Hooks

Since4.9.6
Deprecatedn/a
› apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS )
Parameters:
  • () expiration The expiration age of the export, in seconds.
    Required: Yes
Defined at:
Codex:

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.




Source

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