WordPress开发者和主题制作者的搜索引擎



wp_register_media_personal_data_exporter ›

Sincen/a
已弃用n/a
wp_register_media_personal_data_exporter ( $exporters )
参数:
  • (array) $exporters An array of personal data exporters.
    Required: Yes
返回:
  • (array) An array of personal data exporters.
定义在:
文档:

Registers the personal data exporter for media



源码

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