Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_privacy_export_expiration ›

Desde4.9.6
Obsoleton/a
apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS )
Parâmetros:
  • (int) $expiration The expiration age of the export, in seconds.
    Required: Yes
Definido em:
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.





Fonte

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