Automattic\WooCommerce\Admin

ReportCSVExporter::get_reports_directory()public staticWC 1.0

Get report uploads directory.

Method of the class: ReportCSVExporter{}

No Hooks.

Return

String.

Usage

$result = ReportCSVExporter::get_reports_directory();

ReportCSVExporter::get_reports_directory() code WC 7.1.0

public static function get_reports_directory() {
	$upload_dir = wp_upload_dir();
	return trailingslashit( $upload_dir['basedir'] ) . 'woocommerce_uploads/reports/';
}