WordPress at Your Fingertips
function is not described

WC_Product_CSV_Exporter::__construct() public WC 1.0

Constructor.

{} It's a method of the class: WC_Product_CSV_Exporter{}

No Hooks.

Return

null. Nothing.

Usage

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

Code of WC_Product_CSV_Exporter::__construct() WC 5.9.0

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