WC_Product_CSV_Importer_Controller::upload_form()protectedWC 1.0

Output information about the uploading process.

Method of the class: WC_Product_CSV_Importer_Controller{}

Hooks from the method

Return

null. Nothing (null).

Usage

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

WC_Product_CSV_Importer_Controller::upload_form() code WC 8.7.0

protected function upload_form() {
	$bytes      = apply_filters( 'import_upload_size_limit', wp_max_upload_size() );
	$size       = size_format( $bytes );
	$upload_dir = wp_upload_dir();

	include dirname( __FILE__ ) . '/views/html-product-csv-import-form.php';
}