mirror of
https://github.com/gosticks/wordpress-develop.git
synced 2026-04-09 23:24:34 +00:00
Privacy: Send an email notification to the user once their personal data erasure request is fulfilled.
Props desrosj, allendav, garrett-eclipse. Fixes #43973. git-svn-id: https://develop.svn.wordpress.org/trunk@43230 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
@@ -981,6 +981,15 @@ function wp_privacy_process_personal_data_erasure_page( $response, $eraser_index
|
||||
|
||||
_wp_privacy_completed_request( $request_id );
|
||||
|
||||
/**
|
||||
* Fires immediately after a personal data erasure request has been marked completed.
|
||||
*
|
||||
* @since 4.9.6
|
||||
*
|
||||
* @param int $request_id The privacy request post ID associated with this request.
|
||||
*/
|
||||
do_action( 'wp_privacy_personal_data_erased', $request_id );
|
||||
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user