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



wp_register_comment_personal_data_eraser › WordPress Function

Since4.9.6
Deprecatedn/a
wp_register_comment_personal_data_eraser ( $erasers )
Parameters:
  • (array) $erasers An array of personal data erasers.
    Required: Yes
Returns:
  • (array) An array of personal data erasers.
Defined at:
Codex:

Registers the personal data eraser for comments.



Source

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