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_6064', 10, 6 );
function filter_function_name_6064( $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.

Список изменений

С версии 4.9.6 Введена.

Где вызывается хук

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

Где используется хук в ядре WP

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