Eine auf WordPress spezialiserte Suchmaschine für Entwickler und Theme-Autoren



wp_privacy_export_expiration ›

Seit4.9.6
Veraltetn/v
apply_filters( 'wp_privacy_export_expiration', 3 * DAY_IN_SECONDS )
Parameter:
  • (int) $expiration The expiration age of the export, in seconds.
    Erforderlich: Ja
Definiert in:
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.





Quellcode

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