wp_comments_personal_data_eraser
wp_comments_personal_data_eraser ( $email_address, $page = 1 )
Parameters:- (string) email_address The comment author email address.
- (int) page Comment page number.
Returns:- (array) { Data removal results. @type bool $items_removed Whether items were actually removed. @type bool $items_retained Whether items were retained. @type string[] $messages An array of messages to add to the personal data export file. @type bool $done Whether the eraser is finished. }
Defined at: - Introduced in WordPress: 4.9.6
- Deprecated in WordPress: —
Description
Erases personal data associated with an email address from the comments table.