Automattic\WooCommerce\Admin\API\Reports\Orders\Stats

DataStore::__construct()publicWC 1.0

Dynamically sets the date column name based on configuration

Method of the class: DataStore{}

No Hooks.

Return

null. Nothing (null).

Usage

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

DataStore::__construct() code WC 8.6.1

public function __construct() {
	$this->date_column_name = get_option( 'woocommerce_date_type', 'date_paid' );
	parent::__construct();
}