filtrod 4.9.6
wp_privacy_export_expiration
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
| Parametr | Typ | Opis |
|---|---|---|
$expiration | int | The 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
}
// rejestracja funkcji zwrotnej
add_filter( 'wp_privacy_export_expiration', 'twoja_funkcja' );
function twoja_funkcja($param_1) {
// Twój kod
}Popularne w tej kategorii