# wp_privacy_personal_data_erasers

URL: https://chugunov.pro/api-wordpress/filters/wp_privacy_personal_data_erasers/
Проверено на WordPress 6.9, обновлено 06.08.2026.
Источник: независимый русскоязычный справочник chugunov.pro. Не является официальной документацией WordPress.

Тип: хук-фильтр.
Появился в версии: 4.9.6.

## Сигнатура

```php
apply_filters( 'wp_privacy_personal_data_erasers', array $args )
```

## Описание

Фильтрует массив функций обратного вызова стирателей персональных данных.

## Параметры

- `$args` `array` — обязательный. An array of callable erasers of personal data. Default empty array.
  
  - `...$0` array Array of personal data exporters.
  
  - `callback` callable Callable eraser that accepts an email address and a page number, and returns an array with boolean values for whether items were removed or retained and any messages from the eraser, as well as if additional pages are available.
  
  - `exporter_friendly_name` string Translated user facing friendly name for the eraser.
  
  [Source](#source)
  
  ```
  $erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() );
  ```
  
  [View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/ajax-actions.php/) [View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/includes/ajax-actions.php#L5191) [View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/ajax-actions.php#L5191-L5191)
  
  [Related](#related) Used by | Description |
  [WP_Privacy_Data_Removal_Requests_List_Table::column_email()](https://developer.wordpress.org/reference/classes/wp_privacy_data_removal_requests_list_table/column_email/)`wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php` | Outputs the Actions column.
  |
  [WP_Privacy_Data_Removal_Requests_List_Table::column_next_steps()](https://developer.wordpress.org/reference/classes/wp_privacy_data_removal_requests_list_table/column_next_steps/)`wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php` | Outputs the Next steps column.
  |
  [wp_privacy_process_personal_data_erasure_page()](https://developer.wordpress.org/reference/functions/wp_privacy_process_personal_data_erasure_page/)`wp-admin/includes/privacy-tools.php` | Mark erasure requests as completed after processing is finished.
  |
  [wp_ajax_wp_privacy_erase_personal_data()](https://developer.wordpress.org/reference/functions/wp_ajax_wp_privacy_erase_personal_data/)`wp-admin/includes/ajax-actions.php` | Handles erasing personal data via AJAX.
  |
  
  [Changelog](#changelog) Version | Description |
  [4.9.6](https://developer.wordpress.org/reference/since/4.9.6/) | Introduced. |

## Фильтруемое значение

An array of callable erasers of personal data. Default empty array.

- `...$0` array Array of personal data exporters.

- `callback` callable Callable eraser that accepts an email address and a page number, and returns an array with boolean values for whether items were removed or retained and any messages from the eraser, as well as if additional pages are available.

- `exporter_friendly_name` string Translated user facing friendly name for the eraser.

[Source](#source)

```
$erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() );
```

[View all references](https://developer.wordpress.org/reference/files/wp-admin/includes/ajax-actions.php/) [View on Trac](https://core.trac.wordpress.org/browser/tags/7.0/src/wp-admin/includes/ajax-actions.php#L5191) [View on GitHub](https://github.com/WordPress/wordpress-develop/blob/7.0/src/wp-admin/includes/ajax-actions.php#L5191-L5191)

[Related](#related) Used by | Description |
[WP_Privacy_Data_Removal_Requests_List_Table::column_email()](https://developer.wordpress.org/reference/classes/wp_privacy_data_removal_requests_list_table/column_email/)`wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php` | Outputs the Actions column.
|
[WP_Privacy_Data_Removal_Requests_List_Table::column_next_steps()](https://developer.wordpress.org/reference/classes/wp_privacy_data_removal_requests_list_table/column_next_steps/)`wp-admin/includes/class-wp-privacy-data-removal-requests-list-table.php` | Outputs the Next steps column.
|
[wp_privacy_process_personal_data_erasure_page()](https://developer.wordpress.org/reference/functions/wp_privacy_process_personal_data_erasure_page/)`wp-admin/includes/privacy-tools.php` | Mark erasure requests as completed after processing is finished.
|
[wp_ajax_wp_privacy_erase_personal_data()](https://developer.wordpress.org/reference/functions/wp_ajax_wp_privacy_erase_personal_data/)`wp-admin/includes/ajax-actions.php` | Handles erasing personal data via AJAX.
|

[Changelog](#changelog) Version | Description |
[4.9.6](https://developer.wordpress.org/reference/since/4.9.6/) | Introduced. |

## Исходный код

Файл: `wp-admin/includes/ajax-actions.php:5191`

```php
$erasers = apply_filters( 'wp_privacy_personal_data_erasers', array() );
```

## История изменений

- 4.9.6 — Introduced.

## Связанные

Используется в: `WP_Privacy_Data_Removal_Requests_List_Table::column_email`, `WP_Privacy_Data_Removal_Requests_List_Table::column_next_steps`, [`wp_privacy_process_personal_data_erasure_page`](https://chugunov.pro/api-wordpress/functions/wp_privacy_process_personal_data_erasure_page/), [`wp_ajax_wp_privacy_erase_personal_data`](https://chugunov.pro/api-wordpress/functions/wp_ajax_wp_privacy_erase_personal_data/).

Оригинал в официальной документации: https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erasers/
