Uma área de pesquisa sobre o WordPress para devs e autores do tema



wp_register_comment_personal_data_eraser ›

Desde4.9.6
Obsoleton/a
wp_register_comment_personal_data_eraser ( $erasers )
Parâmetros:
  • (array) $erasers An array of personal data erasers.
    Required: Yes
Retorna:
  • (array) $erasers An array of personal data erasers.
Definido em:
Codex:

Registers the personal data eraser for comments.



Fonte

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