wp_privacy_personal_data_exporters filter-hookWP 4.9.6

Filters the array of exporter callbacks.

Usage

add_filter( 'wp_privacy_personal_data_exporters', 'wp_kama_privacy_personal_data_exporters_filter' );

/**
 * Function for `wp_privacy_personal_data_exporters` filter-hook.
 * 
 * @param array $args An array of callable exporters of personal data.
 *
 * @return array
 */
function wp_kama_privacy_personal_data_exporters_filter( $args ){

	// filter...
	return $args;
}
$args(array)

An array of callable exporters of personal data.

Default: empty array

  • ...$0(array)
    Array of personal data exporters.

    • callback(callable)
      Callable exporter function that accepts an email address and a page number and returns an array of name => value pairs of personal data.

    • exporter_friendly_name(string)
      Translated user facing friendly name for the exporter.

Changelog

Since 4.9.6 Introduced.

Where the hook is called

wp_ajax_wp_privacy_export_personal_data()
wp_privacy_personal_data_exporters
wp_privacy_process_personal_data_export_page()
wp_privacy_personal_data_exporters
WP_Privacy_Data_Export_Requests_List_Table::column_email()
wp_privacy_personal_data_exporters
WP_Privacy_Data_Export_Requests_List_Table::column_next_steps()
wp_privacy_personal_data_exporters
wp-admin/includes/ajax-actions.php 4987
$exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() );
wp-admin/includes/privacy-tools.php 815
$exporters        = apply_filters( 'wp_privacy_personal_data_exporters', array() );
wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php 48
$exporters       = apply_filters( 'wp_privacy_personal_data_exporters', array() );
wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php 120
$exporters       = apply_filters( 'wp_privacy_personal_data_exporters', array() );

Where the hook is used in WordPress

wp-includes/default-filters.php 425
add_filter( 'wp_privacy_personal_data_exporters', 'wp_register_comment_personal_data_exporter' );
wp-includes/default-filters.php 426
add_filter( 'wp_privacy_personal_data_exporters', 'wp_register_media_personal_data_exporter' );
wp-includes/default-filters.php 427
add_filter( 'wp_privacy_personal_data_exporters', 'wp_register_user_personal_data_exporter', 1 );