apply_filters( ‘wp_privacy_personal_data_erasure_page’, array $response, int $eraser_index, string $email_address, int $page, int $request_id, string $eraser_key )

In this article

Filters a page of personal data eraser data.

Description

Allows the erasure response to be consumed by destinations in addition to Ajax.

Parameters

$responsearray
The personal data for the given exporter and page number.
  • items_removed bool
    Whether items were actually removed or not.
  • items_retained bool
    Whether items were retained or not.
  • messages string[]
    An array of messages to add to the personal data export file.
  • done bool
    Whether the eraser is finished or not.
$eraser_indexint
The index of the eraser that provided this data.
$email_addressstring
The email address associated with this personal data.
$pageint
The page number for this response.
$request_idint
The privacy request post ID associated with this request.
$eraser_keystring
The key (slug) of the eraser that provided this data.

Source

$response = apply_filters( 'wp_privacy_personal_data_erasure_page', $response, $eraser_index, $email_address, $page, $request_id, $eraser_key );

Changelog

VersionDescription
4.9.6Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.