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

In this article

Registers the personal data exporter for media.

Parameters

$exportersarray[]required
An array of personal data exporters, keyed by their ID.

Return

array[] Updated array of personal data exporters.

Source

 *
 * @param array[] $exporters An array of personal data exporters, keyed by their ID.
 * @return array[] Updated array of personal data exporters.
 */
function wp_register_media_personal_data_exporter( $exporters ) {
	$exporters['wordpress-media'] = array(
		'exporter_friendly_name' => __( 'WordPress Media' ),
		'callback'               => 'wp_media_personal_data_exporter',

User Contributed Notes

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