Automattic\WooCommerce\Admin
ReportExporter::get_export_filename
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() 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}";
}