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



wp_register_user_personal_data_exporter ›

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

Registers the personal data exporter for users.



Fonte

function wp_register_user_personal_data_exporter( $exporters ) {
	$exporters['wordpress-user'] = array(
		'exporter_friendly_name' => __( 'WordPress User' ),
		'callback'               => 'wp_user_personal_data_exporter',
	);

	return $exporters;
}