wp_register_user_personal_data_exporter( array[] $exporters ): array[]

In this article

Registers the personal data exporter for users.

Parameters

$exportersarray[]required
An array of personal data exporters.

Return

array[] An array of personal data exporters.

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

Changelog

VersionDescription
4.9.6Introduced.

User Contributed Notes

You must log in before being able to contribute a note or feedback.