apply_filters( 'wp_privacy_personal_data_erasure_page', array $response , int $eraser_index , string $email_address , int $page , int $request_id , string $eraser_key )
Filters a page of personal data eraser data.
Description
Allows the erasure response to be consumed by destinations in addition to Ajax.
Parameters
-
$response
array -
The personal data for the given exporter and page number.
items_removed
boolWhether items were actually removed or not.items_retained
boolWhether items were retained or not.messages
string[]An array of messages to add to the personal data export file.done
boolWhether 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.
Source
File: wp-admin/includes/ajax-actions.php
.
View all references
$response = apply_filters( 'wp_privacy_personal_data_erasure_page', $response, $eraser_index, $email_address, $page, $request_id, $eraser_key );
Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |