wp_privacy_personal_data_export_file
Generate the export file from the collected, grouped personal data.
Usage
add_action( 'wp_privacy_personal_data_export_file', 'wp_kama_privacy_personal_data_export_file_action' ); /** * Function for `wp_privacy_personal_data_export_file` action-hook. * * @param int $request_id The export request ID. * * @return void */ function wp_kama_privacy_personal_data_export_file_action( $request_id ){ // action... }
- $request_id(int)
- The export request ID.
Changelog
Since 4.9.6 | Introduced. |
Where the hook is called
wp_privacy_personal_data_export_file
wp-admin/includes/privacy-tools.php 864
do_action( 'wp_privacy_personal_data_export_file', $request_id );
Where the hook is used in WordPress
wp-admin/includes/admin-filters.php 155
add_action( 'wp_privacy_personal_data_export_file', 'wp_privacy_generate_personal_data_export_file', 10 );