wp_register_comment_personal_data_exporter( array[] $exporters ): array[]

In this article

Registers the personal data exporter for comments.

Parameters

$exportersarray[]required
An array of personal data exporters.

Return

array[] An array of personal data exporters.

Source

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;
}

Changelog

VersionDescription
4.9.6Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.