wp_register_comment_personal_data_eraser( array $erasers )
Registers the personal data eraser for comments.
Description Description
Parameters Parameters
- $erasers
-
(array) (Required) An array of personal data erasers.
Return Return
(array) $erasers An array of personal data erasers.
Source Source
File: wp-includes/comment.php
function wp_register_comment_personal_data_eraser( $erasers ) { $erasers['wordpress-comments'] = array( 'eraser_friendly_name' => __( 'WordPress Comments' ), 'callback' => 'wp_comments_personal_data_eraser', ); return $erasers; }
Expand full source code Collapse full source code View on Trac
Changelog Changelog
Version | Description |
---|---|
4.9.6 | Introduced. |