Automattic\WooCommerce\Admin
ReportCSVExporter::get_reports_directory()
Get report uploads directory.
Method of the class: ReportCSVExporter{}
No Hooks.
Return
String
.
Usage
$result = ReportCSVExporter::get_reports_directory();
ReportCSVExporter::get_reports_directory() ReportCSVExporter::get reports directory code WC 9.2.3
public static function get_reports_directory() { $upload_dir = wp_upload_dir(); return trailingslashit( $upload_dir['basedir'] ) . 'woocommerce_uploads/reports/'; }