WordPress at a glance
function is not described

wp_register_media_personal_data_exporter() WP 1.0

Registers the personal data exporter for media.

No Hooks.


Array[]. Updated array of personal data exporters.


wp_register_media_personal_data_exporter( $exporters );
$exporters(array[]) (required)
An array of personal data exporters, keyed by their ID.

Code of wp_register_media_personal_data_exporter() WP 5.7

function wp_register_media_personal_data_exporter( $exporters ) {
	$exporters['wordpress-media'] = array(
		'exporter_friendly_name' => __( 'WordPress Media' ),
		'callback'               => 'wp_media_personal_data_exporter',

	return $exporters;