A WordPress-centric search engine for devs and theme authors



wp_register_user_personal_data_exporter ›

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

Registers the personal data exporter for users.



Source

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