Automattic\WooCommerce\Admin

ReportExporter::get_export_filename │ private static │ WC 1.0

Get the name a report export is stored under.

Method of the class: ReportExporter{}

No Hooks.

Returns

string.

Usage

$result = ReportExporter::get_export_filename( $report_type, $export_id );
$report_type(string) (required)
Report type. E.g. 'customers'.
$export_id(string) (required)
Unique ID for report (timestamp expected).

ReportExporter::get_export_filename() code WC 11.3.0

private static function get_export_filename( $report_type, $export_id ) {
	return "wc-{$report_type}-report-export-{$export_id}";
}