wp_privacy_personal_data_erased WordPress Action Hook

The wp_privacy_personal_data_erased hook is called after a user request to erase their personal data has been processed. This hook can be used to perform any necessary cleanup tasks, such as deleting the user's account from your site.

do_action( 'wp_privacy_personal_data_erased', int $request_id ) #

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


Parameters

$request_id

(int)The privacy request post ID associated with this request.


Top ↑

Source

File: wp-admin/includes/privacy-tools.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.