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



wp_register_user_personal_data_exporter ›

Since4.9.6
已弃用n/a
wp_register_user_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 users.



源码

function wp_register_user_personal_data_exporter( $exporters ) {
	$exporters['wordpress-user'] = array(
		'exporter_friendly_name' => __( 'WordPress User' ),
		'callback'               => 'wp_user_personal_data_exporter',
	);

	return $exporters;
}