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

Registers the personal data exporter for media.


Parameters

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

Top ↑

Return

array[] Updated array of personal data exporters.


Top ↑

Source

File: wp-includes/media.php. View all references

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

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