bp_xprofile_register_personal_data_exporter( array $exporters )

Register XProfile personal data exporter.


Parameters Parameters

$exporters

(array) (Required) An array of personal data exporters.


Top ↑

Return Return

(array) An array of personal data exporters.


Source Source

File: bp-xprofile/bp-xprofile-filters.php

function bp_xprofile_register_personal_data_exporter( $exporters ) {
	$exporters['buddypress-xprofile'] = array(
		'exporter_friendly_name'    => __( 'BuddyPress Extended Profile Data', 'buddypress' ),
		'callback'                  => 'bp_xprofile_personal_data_exporter',
		'exporter_bp_friendly_name' => _x( 'Extended Profile information', 'BuddyPress Extended Profile data exporter friendly name', 'buddypress' ),
	);

	return $exporters;
}

Top ↑

Changelog Changelog

Changelog
Version Description
5.0.0 adds an exporter_bp_friendly_name param to exporters.
4.0.0 Introduced.

Top ↑

User Contributed Notes User Contributed Notes

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