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.


Top ↑

Source

File: wp-admin/includes/privacy-tools.php

View on Trac



Top ↑

Changelog

Changelog
VersionDescription
5.4.0Added the $json_report_pathname parameter.
4.9.6Introduced.

The content displayed on this page has been created in part by processing WordPress source code files which are made available under the GPLv2 (or a later version) license by theĀ Free Software Foundation. In addition to this, the content includes user-written examples and information. All material is subject to review and curation by the WPPaste.com community.