WC_CSV_Batch_Exporter::get_file_path()protectedWC 1.0

Get file path to export to.

Method of the class: WC_CSV_Batch_Exporter{}

No Hooks.

Return

String.

Usage

// protected - for code of main (parent) or child class
$result = $this->get_file_path();

WC_CSV_Batch_Exporter::get_file_path() code WC 9.4.2

protected function get_file_path() {
	$upload_dir = wp_upload_dir();
	return trailingslashit( $upload_dir['basedir'] ) . $this->get_filename();
}