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.


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


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.
The index of the eraser that provided this data.
The email address associated with this personal data.
The page number for this response.
The privacy request post ID associated with this request.
The key (slug) of the eraser that provided this data.


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



User Contributed Notes

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