ReportExporter::queue_report_export( string $export_id, string $report_type, array $report_args = array(), bool $send_email = false )

Queue up actions for a full report export.


Description Description


Parameters Parameters

$export_id

(Required) Unique ID for report (timestamp expected).

$report_type

(Required) Report type. E.g. 'customers'.

$report_args

(Optional) Report parameters, passed to data query.

Default value: array()

$send_email

(Optional) Send an email when the export is complete.

Default value: false


Top ↑

Return Return

(int) Number of items to export.


Top ↑

Source Source

File: packages/woocommerce-admin/src/ReportExporter.php


			


Top ↑

User Contributed Notes User Contributed Notes

You must log in before being able to contribute a note or feedback.