W3cubDocs

/WordPress

wp_register_user_personal_data_exporter( array $exporters )

Registers the personal data exporter for users.

Description

Parameters

$exporters

(array) (Required) An array of personal data exporters.

Return

(array) An array of personal data exporters.

Source

File: wp-includes/user.php

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

Changelog

Version Description
4.9.6 Introduced.

© 2003–2019 WordPress Foundation
Licensed under the GNU GPLv2+ License.
https://developer.wordpress.org/reference/functions/wp_register_user_personal_data_exporter