WordPress开发者和主题制作者的搜索引擎



wp_register_comment_personal_data_exporter ›

Since4.9.6
已弃用n/a
wp_register_comment_personal_data_exporter ( $exporters )
参数:
  • (array) $exporters An array of personal data exporters.
    Required: Yes
返回:
  • (array) $exporters An array of personal data exporters.
定义在:
文档:

Registers the personal data exporter for comments.



源码

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