wp_privacy_personal_data_export_file_created

動作鉤子
do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id, $json_report_pathname )
引數
  • (string) $archive_pathname The full path to the export file on the filesystem.
    Required:
  • (string) $archive_url The URL of the archive file.
    Required:
  • (string) $html_report_pathname The full path to the HTML personal data report on the filesystem.
    Required:
  • (int) $request_id The export request ID.
    Required:
  • (string) $json_report_pathname The full path to the JSON personal data report on the filesystem.
    Required:
定義位置
相關勾子
wp_privacy_personal_data_export_filewp_privacy_personal_data_exporterswp_privacy_personal_data_export_pagewp_privacy_personal_data_erasedwp_privacy_personal_data_email_content
相關方法
wp_privacy_generate_personal_data_export_filewp_privacy_send_personal_data_export_emailwp_privacy_process_personal_data_export_pagewp_media_personal_data_exporterwp_user_personal_data_exporterwp_privacy_generate_personal_data_export_group_html
引入
5.4.0
棄用
-

wp_privacy_personal_data_export_file_created:這是 WordPress 中的一個動作,它的作用是在匯出使用者個人資料到檔案後執行的操作。使用這個動作,開發者可以在匯出使用者個人資料到檔案後執行額外的操作,例如通知使用者、傳送檔案等。

在所有個人資料被寫入匯出檔案後立即啟動。

Plain text
Copy to clipboard
Open code in new window
EnlighterJS 3 Syntax Highlighter
do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id, $json_report_pathname );
do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id, $json_report_pathname );
do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id, $json_report_pathname );

常見問題

FAQs
檢視更多 >