Title: wp_privacy_personal_data_erased
Published: October 5, 2018
Last modified: August 20, 2026

---

# do_action( ‘wp_privacy_personal_data_erased’, int $request_id )

## In this article

 * [Parameters](https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erased/?output_format=md#parameters)
 * [Source](https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erased/?output_format=md#source)
 * [Related](https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erased/?output_format=md#related)
 * [Changelog](https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erased/?output_format=md#changelog)

[ Back to top](https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erased/?output_format=md#wp--skip-link--target)

Fires immediately after a personal data erasure request has been marked completed.

## 󠀁[Parameters](https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erased/?output_format=md#parameters)󠁿

 `$request_id`int

The privacy request post ID associated with this request.

## 󠀁[Source](https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erased/?output_format=md#source)󠁿

    ```php
    do_action( 'wp_privacy_personal_data_erased', $request_id );
    ```

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

## 󠀁[Related](https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erased/?output_format=md#related)󠁿

| Used by | Description | 
| [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.

  |

## 󠀁[Changelog](https://developer.wordpress.org/reference/hooks/wp_privacy_personal_data_erased/?output_format=md#changelog)󠁿

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

## User Contributed Notes

You must [log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fdeveloper.wordpress.org%2Freference%2Fhooks%2Fwp_privacy_personal_data_erased%2F)
before being able to contribute a note or feedback.