wp_privacy_personal_data_erased
Fires immediately after a personal data erasure request has been marked completed.
Usage
add_action( 'wp_privacy_personal_data_erased', 'wp_kama_privacy_personal_data_erased_action' );
/**
* Function for `wp_privacy_personal_data_erased` action-hook.
*
* @param int $request_id The privacy request post ID associated with this request.
*
* @return void
*/
function wp_kama_privacy_personal_data_erased_action( $request_id ){
// action...
}
- $request_id(int)
- The privacy request post ID associated with this request.
Changelog
| Since 4.9.6 | Introduced. |
Where the hook is called
wp_privacy_personal_data_erased
wp-admin/includes/privacy-tools.php 966
do_action( 'wp_privacy_personal_data_erased', $request_id );
Where the hook is used in WordPress
wp-admin/includes/admin-filters.php 155
add_action( 'wp_privacy_personal_data_erased', '_wp_privacy_send_erasure_fulfillment_notification', 10 );