wpseek.com
A WordPress-centric search engine for devs and theme authors



wp_register_media_personal_data_exporter › WordPress Function

Sincen/a
Deprecatedn/a
wp_register_media_personal_data_exporter ( $exporters )
Parameters:
  • (array[]) $exporters An array of personal data exporters, keyed by their ID.
    Required: Yes
Returns:
  • (array[]) Updated 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;
}