WC_Product_CSV_Exporter::__construct()publicWC 1.0

Constructor.

Method of the class: WC_Product_CSV_Exporter{}

No Hooks.

Return

null. Nothing (null).

Usage

$WC_Product_CSV_Exporter = new WC_Product_CSV_Exporter();
$WC_Product_CSV_Exporter->__construct();

WC_Product_CSV_Exporter::__construct() code WC 9.4.2

public function __construct() {
	parent::__construct();
	$this->set_product_types_to_export( array_keys( WC_Admin_Exporters::get_product_types() ) );
}