woocommerce_legacy_reports_init()
Initialize the WooCommerce legacy reports.
No Hooks.
Return
null
. Nothing (null).
Usage
woocommerce_legacy_reports_init();
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(); }