apply_filters( 'wp_privacy_personal_data_export_page', array $response, int $exporter_index, string $email_address, int $page, int $request_id, bool $send_as_email, string $exporter_key )
- Since
- 4.9.6
Filters a page of personal data exporter data. Used to build the export report.
Description
Allows the export response to be consumed by destinations in addition to Ajax.
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
$responsearray- The personal data for the given exporter and page number.
$exporter_indexint- The index of the exporter that provided this data.
$email_addressstring- The email address associated with this personal data.
$pageint- The page number for this response.
$request_idint- The privacy request post ID associated with this request.
$send_as_emailbool- Whether the final results of the export should be emailed to the user.
$exporter_keystring- The key (slug) of the exporter that provided this data.
Where this hook fires · 1
wp-admin/includes/ajax-actions.php:5101wp_ajax_wp_privacy_export_personal_data()
Source code
* @param string $email_address The email address associated with this personal data. * @param int $page The page number for this response. * @param int $request_id The privacy request post ID associated with this request. * @param bool $send_as_email Whether the final results of the export should be emailed to the user. * @param string $exporter_key The key (slug) of the exporter that provided this data. */ $response = apply_filters( 'wp_privacy_personal_data_export_page', $response, $exporter_index, $email_address, $page, $request_id, $send_as_email, $exporter_key ); if ( is_wp_error( $response ) ) { wp_send_json_error( $response ); } wp_send_json_success( $response );Changelog
Introduced in 4.9.6. Unchanged from 6.7.7 through 7.1.0.
Signature, return type and hooks compared across 5 parsed releases.
About this page
- Parsed data
- Generated from the wordpress-develop 6.8.8 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.