wp_privacy_personal_data_export_file_created хук-событие . WP 4.9.6
Fires right after all personal data has been written to the export file.
Использование
add_action( 'wp_privacy_personal_data_export_file_created', 'action_function_name_6702', 10, 5 ); function action_function_name_6702( $archive_pathname, $archive_url, $html_report_pathname, $request_id, $json_report_pathname ){ // action... }
- $archive_pathname(строка)
- The full path to the export file on the filesystem.
- $archive_url(строка)
- The URL of the archive file.
- $html_report_pathname(строка)
- The full path to the HTML personal data report on the filesystem.
- $request_id(число)
- The export request ID.
- $json_report_pathname(строка)
- The full path to the JSON personal data report on the filesystem.
Список изменений
С версии 4.9.6 | Введена. |
С версии 5.4.0 | Added the $json_report_pathname parameter. |
Где вызывается хук
wp_privacy_personal_data_export_file_created
wp-admin/includes/privacy-tools.php 529
do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id, $json_report_pathname );