wp_register_media_personal_data_exporter( array[] $exporters )

Registers the personal data exporter for media.


Parameters Parameters

$exporters

(array[]) (Required) An array of personal data exporters, keyed by their ID.


Top ↑

Return Return

(array[]) Updated array of personal data exporters.


Top ↑

Source Source

File: wp-includes/media.php

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


Top ↑

User Contributed Notes User Contributed Notes

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