On this page
wp_register_comment_personal_data_eraser( array $erasers ): array
Registers the personal data eraser for comments.
Parameters
$erasersarray Required-
An array of personal data erasers.
Return
array An array of personal data erasers.
Source
File: wp-includes/comment.php. View all references
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;
}
Related
Uses
| Uses | Description |
|---|---|
| __() wp-includes/l10n.php | Retrieves the translation of $text. |
Changelog
| Version | Description |
|---|---|
| 4.9.6 | Introduced. |
© 2003–2022 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_register_comment_personal_data_eraser