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



wp_register_comment_personal_data_eraser ›

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

Registers the personal data eraser for comments.



源码

function wp_register_comment_personal_data_eraser( $erasers ) {
	$erasers['wordpress-comments'] = array(
		'eraser_friendly_name' => __( 'WordPress Comments' ),
		'callback'             => 'wp_comments_personal_data_eraser',
	);

	return $erasers;
}