filtrod 4.9.6
wp_privacy_personal_data_erasure_page
Opis — z kodu źródłowego
Filters a page of personal data eraser data.
Allows the erasure response to be consumed by destinations in addition to Ajax.
Parametry
| Parametr | Typ | Opis |
|---|---|---|
$response | array | { The personal data for the given exporter and page number. @type bool $items_removed Whether items were actually removed or not. @type bool $items_retained Whether items were retained or not. @type string[] $messages An array of messages to add to the personal data export file. @type bool $done Whether the eraser is finished or not. } |
$eraser_index | int | The index of the eraser that provided this data. |
$email_address | string | The email address associated with this personal data. |
$page | int | The page number for this response. |
$request_id | int | The privacy request post ID associated with this request. |
$eraser_key | string | The key (slug) of the eraser that provided this data. |
Wywołanie
Rejestracja callbackaphp
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_privacy_personal_data_erasure_page', 'twoja_funkcja', 10, 6 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4, $param_5, $param_6) {
// Twój kod
}
// rejestracja funkcji zwrotnej — podaj liczbę argumentów!
add_filter( 'wp_privacy_personal_data_erasure_page', 'twoja_funkcja', 10, 6 );
function twoja_funkcja($param_1, $param_2, $param_3, $param_4, $param_5, $param_6) {
// Twój kod
}Popularne w tej kategorii