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

DataStore::__construct │ public │ WC 1.0

Dynamically sets the date column name based on configuration

Method of the class: DataStore{}

No Hooks.

Returns

null. Nothing (null).

Usage

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

DataStore::__construct() code WC 11.2.2

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