wordpress / latest / functions / wp_register_comment_personal_data_exporter.html

wp_register_comment_personal_data_exporter( array $exporters ): array

Registers the personal data exporter for comments.

Parameters

$exporters array Required
An array of personal data exporters.

Return

array An array of personal data exporters.

Source

File: wp-includes/comment.php. View all references

function wp_register_comment_personal_data_exporter( $exporters ) {
	$exporters['wordpress-comments'] = array(
		'exporter_friendly_name' => __( 'WordPress Comments' ),
		'callback'               => 'wp_comments_personal_data_exporter',
	);

	return $exporters;
}

Uses

Uses Description

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_exporter