woocommerce_legacy_reports_init()WC 1.0

Initialize the WooCommerce legacy reports.

No Hooks.

Return

null. Nothing (null).

Usage

woocommerce_legacy_reports_init();

woocommerce_legacy_reports_init() code WC 9.5.1

function woocommerce_legacy_reports_init() {
	require_once __DIR__ . '/class-wc-admin-reports.php';

	WC_Admin_Reports::register_hook_handlers();
}