WP HOOKS
filtrod 4.9.6

wp_privacy_export_expiration

Args 1Plik wp-includes/functions.phpDokumentacja WP ↗

Opis — z kodu źródłowego

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.

Parametry

ParametrTypOpis
$expirationintThe expiration age of the export, in seconds.

Wywołanie

Rejestracja callbackaphp
// rejestracja funkcji zwrotnej
add_filter( 'wp_privacy_export_expiration', 'twoja_funkcja' );

function twoja_funkcja($param_1) {
	// Twój kod
}

Popularne w tej kategorii