wp_privacy_personal_data_export_file_created

wp_privacy_personal_data_export_file_created

Appears in: , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , , ,
Hook Type: action

See hook in core

Displaying hooks found in version: wordpress-6.7.2

do_action('wp_privacy_personal_data_export_file_created') is found 1 times:

  • /wp-admin/includes/privacy-tools.php line 563
    559
    560
    561
    562
    563
    564
    565
    566
    567
    568
    569
             * @param string $html_report_pathname The full path to the HTML personal data report on the filesystem.
             * @param int    $request_id           The export request ID.
             * @param string $json_report_pathname The full path to the JSON personal data report on the filesystem.
             */
            do_action( 'wp_privacy_personal_data_export_file_created', $archive_pathname, $archive_url, $html_report_pathname, $request_id, $json_report_pathname );
        }
    } else {
        $error = __( 'Unable to open personal data export file (archive) for writing.' );
    }
     
    // Remove the JSON file.