WC_CSV_Batch_Exporter::get_file_path
Get file path to export to.
Method of the class: WC_CSV_Batch_Exporter{}
No Hooks.
Returns
String.
Usage
// protected - for code of main (parent) or child class $result = $this->get_file_path();
WC_CSV_Batch_Exporter::get_file_path() WC CSV Batch Exporter::get file path code WC 10.5.0
protected function get_file_path() {
$upload_dir = wp_upload_dir();
return trailingslashit( $upload_dir['basedir'] ) . $this->get_filename();
}