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.
3 * DAY_IN_SECONDS
Sortie :
@param int $expiration The expiration age of the export, in seconds.
// Modifier la valeur avec le filtre 'wp_privacy_export_expiration'
add_filter('wp_privacy_export_expiration', 'ma_fonction_filtre', 10, 1);
function ma_fonction_filtre(3 * DAY_IN_SECONDS) {
// Modifier la valeur
return 3 * DAY_IN_SECONDS;
}
Chargement des actualités...