wppaste
WordPress

apply_filters( 'wp_privacy_personal_data_exporters', array $args )

Since
4.9.6
Filters the array of exporter callbacks.

Compatibility

WordPress
since 4.9.6
  • 6.7.7
  • 6.8.8
  • 6.9.7
  • 7.0.4
  • 7.1.0

Present in every tracked release (6.7.7 to 7.1.0).

Parameters

$argsarray
{ An array of callable exporters of personal data. Default empty array.
@type array ...$0 { Array of personal data exporters.
@type callable $callback Callable exporter function that accepts an email address and a page number and returns an array of name => value pairs of personal data.
@type string $exporter_friendly_name Translated user facing friendly name for the exporter.
} }
  • ...$0array

    Array of personal data exporters.
    • $callbackcallable

      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_namestring

      Translated user facing friendly name for the exporter.

Where this hook fires · 4

  • wp-admin/includes/ajax-actions.php:5027wp_ajax_wp_privacy_export_personal_data()
  • wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php:48WP_Privacy_Data_Export_Requests_List_Table::column_email()
  • wp-admin/includes/class-wp-privacy-data-export-requests-list-table.php:120WP_Privacy_Data_Export_Requests_List_Table::column_next_steps()
  • wp-admin/includes/privacy-tools.php:822wp_privacy_process_personal_data_export_page()

Source code

	 *                                                array of name => value pairs of personal data.	 *         @type string   $exporter_friendly_name Translated user facing friendly name for the	 *                                                exporter.	 *     }	 * }	 */	$exporters = apply_filters( 'wp_privacy_personal_data_exporters', array() ); 	if ( ! is_array( $exporters ) ) {		wp_send_json_error( __( 'An exporter has improperly used the registration filter.' ) );	} 	// Do we have any registered exporters?

Changelog

Introduced in 4.9.6. Unchanged from 6.7.7 through 7.1.0.

  1. 6.7.7
  2. 6.8.8
  3. 6.9.7
  4. 7.0.4
  5. 7.1.0

Signature, return type and hooks compared across 5 parsed releases.

About this page

Parsed data
Generated from the wordpress-develop 7.1.0 tag, and regenerated for each WordPress release so it tracks the code rather than a snapshot of it.
Corrections
Something wrong on this page? Report it and it gets fixed in the next regeneration.