wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_register_comment_personal_data_exporter › WordPress Function

Since4.9.6
Deprecatedn/a
wp_register_comment_personal_data_exporter ( $exporters )
Parameters:
  • (array[]) $exporters An array of personal data exporters.
    Required: Yes
Returns:
  • (array[]) An array of personal data exporters.
Defined at:
Codex:

Registers the personal data exporter for comments.



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