wp_register_comment_personal_data_exporter( array $exporters )
Registers the personal data exporter for comments.
Parameters
- $exporters
-
(array) (Required) An array of personal data exporters.
Return
(array) $exporters An array of personal data exporters.
Source
File: wp-includes/comment.php
function wp_register_comment_personal_data_exporter( $exporters ) {
$exporters['wordpress-comments'] = array(
'exporter_friendly_name' => __( 'ClassicPress Comments' ),
'callback' => 'wp_comments_personal_data_exporter',
);
return $exporters;
}
Changelog
Version | Description |
---|---|
WP-4.9.6 | Introduced. |