wp_privacy_personal_data_export_file_created WordPress Action Hook
The wp_privacy_personal_data_export_file_created hook is triggered when a personal data export file is created. This hook can be used to perform any actions that need to be taken when a personal data export file is created, such as notifying the user that their export is ready.
do_action( 'wp_privacy_personal_data_export_file_created', string $archive_pathname , string $archive_url , string $html_report_pathname , int $request_id , string $json_report_pathname ) #
Fires right after all personal data has been written to the export file.
Parameters
- $archive_pathname
(string)The full path to the export file on the filesystem.
- $archive_url
(string)The URL of the archive file.
- $html_report_pathname
(string)The full path to the HTML personal data report on the filesystem.
- $request_id
(int)The export request ID.
- $json_report_pathname
(string)The full path to the JSON personal data report on the filesystem.
Source
Changelog
Version | Description |
---|---|
5.4.0 | Added the $json_report_pathname parameter. |
4.9.6 | Introduced. |