WordPress at Your Fingertips
function is not described

WC_Report_Sales_By_Date::get_report_data() public WC 1.0

Get report data.

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

No Hooks.

Return

stdClass.

Usage

$WC_Report_Sales_By_Date = new WC_Report_Sales_By_Date();
$WC_Report_Sales_By_Date->get_report_data();

Code of WC_Report_Sales_By_Date::get_report_data() WC 5.8.0

public function get_report_data() {
	if ( empty( $this->report_data ) ) {
		$this->query_report_data();
	}
	return $this->report_data;
}