WC_Admin_Reports::get_report_instance()public staticWC 1.0

Get an instance of WC_Admin_Report.

Method of the class: WC_Admin_Reports{}

No Hooks.

Return

WC_Admin_Report.

Usage

$result = WC_Admin_Reports::get_report_instance();

WC_Admin_Reports::get_report_instance() code WC 9.5.1

public static function get_report_instance() {
	include_once __DIR__ . '/reports/class-wc-admin-report.php';
	return new WC_Admin_Report();
}