A WordPress-centric search engine for devs and theme authors



wp_register_media_personal_data_exporter ›

Sincen/a
Deprecatedn/a
wp_register_media_personal_data_exporter ( $exporters )
Parameters:
  • (array) $exporters An array of personal data exporters.
    Required: Yes
Returns:
  • (array) An array of personal data exporters.
Defined at:
Codex:

Registers the personal data exporter for media



Source

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