Automattic\WooCommerce\Admin
ReportCSVExporter::get_reports_directory()
Get report uploads directory.
Метод класса: ReportCSVExporter{}
Хуков нет.
Возвращает
Строку
.
Использование
$result = ReportCSVExporter::get_reports_directory();
Код ReportCSVExporter::get_reports_directory() ReportCSVExporter::get reports directory WC 9.2.3
public static function get_reports_directory() { $upload_dir = wp_upload_dir(); return trailingslashit( $upload_dir['basedir'] ) . 'woocommerce_uploads/reports/'; }