Automattic\WooCommerce\Admin

ReportCSVEmail::__construct()publicWC 1.0

Constructor.

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

No Hooks.

Return

null. Nothing.

Usage

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

Code of ReportCSVEmail::__construct() WC 6.6.1

public function __construct() {
	$this->id             = 'admin_report_export_download';
	$this->template_base  = WC()->plugin_path() . '/includes/react-admin/emails/';
	$this->template_html  = 'html-admin-report-export-download.php';
	$this->template_plain = 'plain-admin-report-export-download.php';
	$this->report_labels  = array(
		'categories' => __( 'Categories', 'woocommerce' ),
		'coupons'    => __( 'Coupons', 'woocommerce' ),
		'customers'  => __( 'Customers', 'woocommerce' ),
		'downloads'  => __( 'Downloads', 'woocommerce' ),
		'orders'     => __( 'Orders', 'woocommerce' ),
		'products'   => __( 'Products', 'woocommerce' ),
		'revenue'    => __( 'Revenue', 'woocommerce' ),
		'stock'      => __( 'Stock', 'woocommerce' ),
		'taxes'      => __( 'Taxes', 'woocommerce' ),
		'variations' => __( 'Variations', 'woocommerce' ),
	);

	// Call parent constructor.
	parent::__construct();
}