WordPress at a glance
filter is not described

wp_privacy_personal_data_erasure_page filter-hook . WP 4.9.6

Filters a page of personal data eraser data.

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


add_filter( 'wp_privacy_personal_data_erasure_page', 'filter_function_name_7862', 10, 6 );
function filter_function_name_7862( $response, $eraser_index, $email_address, $page, $request_id, $eraser_key ){
	// filter...

	return $response;
The personal data for the given exporter and page.
The index of the eraser that provided this data.
The email address associated with this personal data.
The page for this response.
The privacy request post ID associated with this request.
The key (slug) of the eraser that provided this data.


Since 4.9.6 Introduced.

Where the hook is called

wp-admin/includes/ajax-actions.php 5100
$response = apply_filters( 'wp_privacy_personal_data_erasure_page', $response, $eraser_index, $email_address, $page, $request_id, $eraser_key );

Where in WP core the hook is used

wp-admin/includes/admin-filters.php 132
add_filter( 'wp_privacy_personal_data_erasure_page', 'wp_privacy_process_personal_data_erasure_page', 10, 5 );