WP HOOKS
filtrod 4.9.6

wp_privacy_personal_data_erasure_page

Args 6Plik wp-admin/includes/ajax-actions.phpDokumentacja WP ↗

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

ParametrTypOpis
$responsearray{ 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_indexintThe index of the eraser that provided this data.
$email_addressstringThe email address associated with this personal data.
$pageintThe page number for this response.
$request_idintThe privacy request post ID associated with this request.
$eraser_keystringThe 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
}

Popularne w tej kategorii